Closed (fixed)
Project:
Search by Page
Version:
6.x-1.x-dev
Component:
Main Search by Page module
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2009 at 17:38 UTC
Updated:
23 Sep 2009 at 23:30 UTC
Eric London details a really nice way of displaying search result totals: http://thedrupalblog.com/displaying-total-number-results-search-page-and...
He uses the global 'pager_total_items', which appears to be empty when using Search by Page. With a few lines added to _search_by_page_do_search() in search_by_page.module it seems to be working again.
I've never made a patch before, so let me know if anything's off.
| Comment | File | Size | Author |
|---|---|---|---|
| search_by_page-total_results.patch | 962 bytes | milesw |
Comments
Comment #1
jhodgdonYour patch looks quite reasonable. I'll get it into an upcoming release. Thanks!
Comment #2
jhodgdonJust a note that version 6.x-1.3 is now released with this fix included.
Comment #3
jhodgdon