Difference between revisions of "Issue:Count and %PAGES%"
From FollowTheScore
Eclecticdave (talk | contribs) (New page: {{Issue |Type = Change Request |Extension = DPL |Version = ? |Description = %PAGES% does not show total when count is used. |Status = open }} == Problem == When usi...) |
|||
Line 19: | Line 19: | ||
== Reply == | == Reply == | ||
+ | Indeed this is a known flaw. I wasn´t aware of the variables or functions you are mentionig. Could you send me a patch how to do it. I would then publish a new release ... | ||
+ | |||
+ | [[User:Gero|Gero]] 22:42, 25 February 2008 (CET) |
Revision as of 22:42, 25 February 2008
Description: | %PAGES% does not show total when count is used. |
Extension / Version: | DPL / ? |
Type / Status: | Change Request / open |
Problem
When using the 'count' parameter, %PAGES% only shows the number of rows retrieved, not the total number of pages in the query.
Could it use SQL_CALC_FOUND_ROWS and FOUND_ROWS() to retrieve the total? This would allow "Showing xx pages of yyyy" style headings.
Or am I just doing something wrong?
Cheers,
David.
Reply
Indeed this is a known flaw. I wasn´t aware of the variables or functions you are mentionig. Could you send me a patch how to do it. I would then publish a new release ...
Gero 22:42, 25 February 2008 (CET)