]> git.koha-community.org Git - koha.git/commit
Bug 31846: Add syspref for serials search results limit
authorDavid Gustafsson <david.gustafsson@ub.gu.se>
Mon, 17 Oct 2022 16:31:38 +0000 (18:31 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 25 Oct 2023 13:35:27 +0000 (10:35 -0300)
commiteae494fb33fdd0bd980f6cf4a13f9feba464c8a8
treedda572eebeabf582f394963610776cc1855b4d30
parent3738b00c15c09fe98f833f950da8821cc6951788
Bug 31846: Add syspref for serials search results limit

To test:

1) Make sure SerialsSearchResultsLimit syspref is unset or set to 0.
2) Perform an advanced search on serials without any conditions
   and confirm all serials are listed as expected.
3) Set SerialsSearchResultsLimit to a value less the the number
   of total subscriptions, perform the search again, and confirm
   that the number of serials has been limited to the set value.
4) Ensure all tests pass in t/db_dependent/Serials.t

Sponsored-by: Gothenburg University Library
Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Serials.pm
installer/data/mysql/atomicupdate/bug-31846-serials-search-results-limit.pl [new file with mode: 0755]
installer/data/mysql/mandatory/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/serials.pref
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt
serials/serials-search.pl
t/db_dependent/Serials.t