Difference between revisions of "Issue:Count and %PAGES%"

From FollowTheScore
Jump to: navigation, search
(New page: {{Issue |Type = Change Request |Extension = DPL |Version = ? |Description = %PAGES% does not show total when count is used. |Status = open }} == Problem == When usi...)
(No difference)

Revision as of 16:47, 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