]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 26 Oct 2023 07:49:52 +0000 (21:49 -1000)
commite9363693e026ebea2117a750c078dd71d4c0a1bb
treeb82615d8c9cb6bfa8e9c9f56ab6dae9e885ae0ca
parent37eb3092c19361c88ab0442219cd523832b24d2f
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>
(cherry picked from commit e08bf3bb4c4ef8208f7895c000397e4122664c57)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
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