]> git.koha-community.org Git - koha.git/commit
Bug 26916: Show searchable patron attributes in patron search dropdown
authorNick Clemens <nick@bywatersolutions.com>
Fri, 11 Aug 2023 15:57:42 +0000 (15:57 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 8 Nov 2023 20:52:39 +0000 (17:52 -0300)
commitcdbf176e8f2bde3ed546701d48e95a7c46bb477b
tree236e9f83cd819f942dde38b6ae5f7aa76b0a96f5
parentcf70fd27da5229f212b57e5c3534f45777228b6c
Bug 26916: Show searchable patron attributes in patron search dropdown

This patch adds attributes that have been marked searchable to the patron
search dropdowns

To test:
1 - Define some new patron attribute types and make then staff_searchable
2 - Add some values to patrons
3 - Confirm they are searched in 'Standard' search, but there is no other way to search them
4 - Apply patch
5 - Confirm the fields now show in patorn search dropdowns
6 - Search using 'standard' and confirm the searhc works
7 - Search specific attributes and confirm the searhc works

Signed-off-by: Janusz Kaczmarek <januszop@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/includes/patronfields.inc
koha-tmpl/intranet-tmpl/prog/js/staff-global.js