From 5f155622642bcf82bf2fc03bfeb8380aa3836ada Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 1 Feb 2023 09:31:20 +0100 Subject: [PATCH] Bug 32770: Restore patron search on all emails and phone numbers Prior to bug 30063 we had "Email" and "Phone" in the search field list that allowed a search on all email or phone attributes. This patch restores that (in an a bit ugly way, but cannot do easier). Test plan: Confirm that "Email" and "Phone" are displayed in the search field list when searching for patrons. Note that "Phone" was there already, but was only searching on the first "phone" attribute. Confirm that the search works as expected. Note for QA: I was not expecting the REST API to handle search on attributes with the DB column names, I think this is a bug. --- koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc | 2 +- koha-tmpl/intranet-tmpl/prog/en/includes/patronfields.inc | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc index b4589b12019..a7a4e38bd2f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc @@ -61,7 +61,7 @@