Closed (fixed)
Project:
Search configuration
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Oct 2010 at 06:40 UTC
Updated:
11 Dec 2011 at 15:10 UTC
Drupal default search displaying 10 records per page. I want to display custom total results per page.
Comments
Comment #1
jbomb commentedI don't think this can be accomplished with this module because the node module implements do_search(), which seems to be hardcoded to retrieve 10 records at a time. You probably want to look into replacing the Search module's interface with views. Create a view, add and expose the *search* filter, and then set your pager rules and fields. The last step would be to set the path of your view to "search/node." You might find more helpful tips in replacing drupal 6 core search with views search.
Comment #2
alan d. commentedThis appears that it should be possible in D7. I'll look into it in the near future.
Comment #3
sillygwailoRelated issue in core: #702940: Add option 'Items per page' on admin/config/search/pages
Comment #4
alan d. commentedTrivial update! Pushed into DEV, let me know if anyone has any issues!
Comment #5
alan d. commentedMarking fixed in the meantime :)