Bug 26567: Allow to limit subscription search to subscriptions with routing lists
authordanyonsewell <danyonsewell@catalyst.net.nz>
Wed, 20 Dec 2023 04:15:06 +0000 (04:15 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 10 May 2024 14:45:44 +0000 (16:45 +0200)
commitac5084641e95621a46eef8d8663cc3a2eb9b5675
tree2551fcbaa32dc766d1067bcfe42b33aaafb39a72
parentb1944c78954ef00873ba0a8bc9c1da1bf4ec9577
Bug 26567: Allow to limit subscription search to subscriptions with routing lists

Adds a search option to the advanced search in the
serials module that allows to limit search on subscriptions
with routing lists.

Test plan:
1. Apply this patch
2. Create two subscriptions, one with a routing list and one without
3. Navigate to Serials home and tick the checkbox labeled "Search routing lists only:"
4. Confirm that the only search result to appear is the subscription you added the routing list to
5. Run unit tests: prove t/db_dependent/Serials.t

Sponsored by: Bibliotheksservice-Zentrum Baden-Wuerttemberg

Signed-off-by: Christian Stelzenmüller <christian.stelzenmueller@bsz-bw.de>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Perltidied changes to make QA test tools pass.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
C4/Serials.pm
koha-tmpl/intranet-tmpl/prog/en/includes/serials-advsearch.inc
serials/serials-search.pl
t/db_dependent/Serials.t