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.

CommentFileSizeAuthor
search_by_page-total_results.patch962 bytesmilesw

Comments

jhodgdon’s picture

Status: Active » Reviewed & tested by the community

Your patch looks quite reasonable. I'll get it into an upcoming release. Thanks!

jhodgdon’s picture

Status: Reviewed & tested by the community » Fixed

Just a note that version 6.x-1.3 is now released with this fix included.

jhodgdon’s picture

Category: feature » bug

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.