Issue:Count and %PAGES%
From FollowTheScore
Revision as of 15:47, 25 February 2008 by 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...)
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.