To edit pages or tickets please login with username/password: aaf/aaf

Ticket #177 (assigned defect)

Opened 1 year ago

Last modified 10 months ago

total_hits incorrect when group_by used (group_by option used in actual select, but ignored in count)

Reported by: aaf Assigned to: jk (accepted)
Priority: minor Milestone: 0.5
Component: 0plugin Version:
Keywords: group_by total_hits Cc:

Description

find_with_ferret accepts normal finder options as the third param. When those options include a group_by clause, the clause is applied in the actual results returned, but NOT in the "SELECT count(*) as count_all" query. As a result, total_hits is incorrect, which means paging is incorrect, which is a big problem (three pages of results, with links to 7 pages -- not great for the end user).

SVN: 534

Change History

12/16/07 20:39:31 changed by jk

  • priority changed from major to minor.
  • status changed from new to assigned.
  • milestone set to 0.5.

To edit pages or tickets please login with username/password: aaf/aaf