[Koha-bugs] [Bug 14715] Results per page setting for catalog search in staff client and OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 4 10:08:36 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14715

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #97004|0                           |1
        is obsolete|                            |

--- Comment #94 from David Nind <david at davidnind.com> ---
Created attachment 98365
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=98365&action=edit
Bug 14715: Results per page dropdown for catalogue search

This patch utilises an unused search facet to handle results shown per
page.

To test:

1) Enable patch and update database to apply atomic updates
2) Go to system preferences and set both 'numSearchResultsDropdown' and
'OPACnumSearchResultsDropdown' to 'Show'
3) Set both 'numSearchResults' and 'OPACnumSearchResults' system
preferences to 10 so that it will be clear to see how the patch works
4) Do a catalogue search in the intranet using a search term that will
bring lots of results
5) The results per page dropdown should show with the selected option as
the library default, the value of numSearchResults. The number of
results shown on the page should match numSearchResults.
6) Choose a different number of results per page in the dropdown. The
search results will automatically refresh
7) Confirm that the correct number of results per page shows
8) Confirm that changing pages does not revert the number of results
shown per page to the default value
9) Confirm that you are still able to use other search facets as
expected
10) Repeat steps 4-9 on the OPAC (note OPAC uses OPACnumSearchResults as
    the default value)

Sponsored-by: Region Halland
Signed-off-by: Gabriel DeCarufel <gabriel at inlibro.com>

Signed-off-by: David Nind <david at davidnind.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list