]> git.koha-community.org Git - koha.git/commit
Bug 33428: (follow-up): Default to searching 'standard' fields
authorNick Clemens <nick@bywatersolutions.com>
Fri, 18 Aug 2023 11:16:44 +0000 (11:16 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 25 Sep 2023 13:53:48 +0000 (10:53 -0300)
commit384f9282e1cf0dcbbfa5dec6b48951300d05cc50
tree3fd9c8def775fa2c461218d2015406da2404654c
parentbfdee70f2468ec5d042373453bfaaed0bde5736e
Bug 33428: (follow-up): Default to searching 'standard' fields

Before this patch set, a search for patrons from article requests or
reserves would search the attributes by default. They were not considered
'standard' searches, however.

This patch simply defaults to searching the 'standard' fields unless a value is passed

To test:
1 - Apply other patches
2 - Have patrons with searchable attributes
3 - From a title, click the holds or artickle requests tab
4 - Search for the attribute values and confirm patrons are not returned
5 - Apply this patch
6 - Search again, patrons are now returned

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc