]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 17 Jul 2023 15:04:31 +0000 (16:04 +0100)
commit2f3e1cd76b38452da0d23c46d33e44d49b7adea0
treec19c02e252912bc9dd132af47b0a9c3ee6774b45
parentf1e90cc4c2b75752122f540013ff9753e0111677
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>
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