Blog

Drupal 7: Customize the search query

1. Change the number of search results per page.

To change default search results per page (which is 10), you will have to create a module and override the function hook_query_alter like so: