Posted By

jonathanpglick on 11/03/10


Tagged

search drupal D6


Versions (?)

Drupal get total number of search results from pager


 / Published in: PHP
 

The total number of search results can be added in a hookpreprocesssearch_results() function from the following variable:

  1. $GLOBALS['pager_total_items'][0];

Report this snippet  

You need to login to post a comment.