VuFind

Allow variable page size in search results listings

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.2
  • Component/s: Search
  • Labels:
    None

Description

Currently, search results are hard-coded to a page size of 20. Ideally, this should be changed to be based on a config.ini setting that would allow administrators to set either a single hard page size or a list of options for the user to select from in a drop-down control. If we implement this, we also need to be sure we account for it in all the places where result lists are shown (i.e. new items and course reserves, not just main search results).

Activity

Hide
Eoghan Ó Carragáin added a comment - - edited
The attached patch allows default page size to be configured in searches.ini. It also gives the option of enabling a drop down list on the results page so the end user can increase or decrease the page size. This funcationality works more or less as the view toggle and sorting works. If book previews are enabled, increasing the page limit beyond 20 will probably stop them working, see VUFIND-317
Show
Eoghan Ó Carragáin added a comment - - edited The attached patch allows default page size to be configured in searches.ini. It also gives the option of enabling a drop down list on the results page so the end user can increase or decrease the page size. This funcationality works more or less as the view toggle and sorting works. If book previews are enabled, increasing the page limit beyond 20 will probably stop them working, see VUFIND-317
Hide
Demian Katz added a comment -
Added to trunk as r3880. Multiple limit options are currently disabled by default but can be activated from searches.ini.
Show
Demian Katz added a comment - Added to trunk as r3880. Multiple limit options are currently disabled by default but can be activated from searches.ini.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: