Quote:
Originally posted by Charter
... When set to X, there will be at most X results from each of Y sites displayed, and if limit to a certain site is clicked, X results for that site will be displayed.
|
Hi. Actually it works like above.
However, if you want to have at most X results from each of Y sites displayed on a 'main' search, and then want all results for a given site displayed on a 'limit to' search, just do the following.
In search_function.php find:
PHP Code:
if(NUMBER_OF_RESULTS_PER_SITE != -1) {
and replace with:
PHP Code:
if((!$refine) && (NUMBER_OF_RESULTS_PER_SITE != -1)) {