]> git.koha-community.org Git - koha.git/commit
Bug 35127: Fix 'Search type' for patron search
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 24 Oct 2023 13:32:53 +0000 (15:32 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 25 Oct 2023 13:35:26 +0000 (10:35 -0300)
commite08bf3bb4c4ef8208f7895c000397e4122664c57
treea8553187ee541a6aa332f8fc7b5f77d8ef8b1e26
parent5b803d2b2a0e373e1e747809f106ad2dd2061a42
Bug 35127: Fix 'Search type' for patron search

We need to fallback on the syspref DefaultPatronSearchMethod but keep
the value when one is passed!

Test plan:
Search for patrons, and use the "search type". Set it to different
values than DefaultPatronSearchMethod and confirm that the value is
kept.
Fix is expected when searching for patrons in the header (use the
options to select a different value and run the search)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
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