]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 3 Jul 2023 17:51:37 +0000 (14:51 -0300)
commitb804313c20462fce7648570a4619b7b212765262
tree0a21200264ede423489151406445630efdc0c722
parente3803577eedac53c26280f1a0f6837803b69d82e
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>
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