]> git.koha-community.org Git - koha.git/commit
Bug 34094: Use DefaultPatronSearchMethod consistently
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 22 Jun 2023 14:37:55 +0000 (15:37 +0100)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Tue, 18 Jul 2023 13:11:38 +0000 (13:11 +0000)
commit4d005d8148642e14681acf2d40f49ddfba916c14
treed2705b4a1e1e30551f2f092897118c28b68bd65c
parentc897101348065f0bf16973e72bad134b15baa897
Bug 34094: Use DefaultPatronSearchMethod consistently

This patch updates the patron search bar and pages to default search
method to that defined by DefaultPatronSearchMethod system preference.

Test plan
1) Prior to this patch confirm that regardless of what you set
   DefaultPatronSearchMethod to, the search in /members/member.pl,
   members/members-home.pl and the search from the patrons search top bar
   all default to 'contains'.
2) Apply the patch
3) Confirm that the system preference now affects the default option for
   match type upon page load.

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit b804313c20462fce7648570a4619b7b212765262)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 2f3e1cd76b38452da0d23c46d33e44d49b7adea0)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
circ/circulation.pl
koha-tmpl/intranet-tmpl/prog/en/includes/member-search-box.inc
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc
koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt
members/member.pl