Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I installed this module because I wanted to set the num results per page to 30 or 60 instead of the deafult 10. I went to /admin/config/search/settings -> results -> pager limit set to 30, but the search results page still shows only 10 results. I flushed caches and still only 10 results. Please advise!
Thanks,
NS
Comment | File | Size | Author |
---|---|---|---|
#4 | search_config-2162879-4-applies-pager-limits-to-all-users.patch | 2.81 KB | Alan D. |
Comments
Comment #1
j.b CreditAttribution: j.b commentedI am also getting this problem on 7.x-1.1.
Its not working
Comment #2
j.b CreditAttribution: j.b commentedOk, Its working only for non-administrator users.
Comment #3
Alan D. CreditAttribution: Alan D. commentedDo you mean the user with ID #1? If so, then this is by design.
However, the limit is only added if the user doesn't have "search all content" permission, so that is the request to fix that I guess.
Comment #4
Alan D. CreditAttribution: Alan D. commentedPushing the attached patch. The user = 1 only wraps the query restrictions and all users will get the limit restrictions (guessing a couple users could complain... but KISS and assumes that not doing this will generally cause more confusion / damage (fixed height themes) so better imho)