From 5800e5ae6f386d4d25d39ff2c6623fe2e881072c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 22 Feb 2023 14:43:02 +0100 Subject: [PATCH] Bug 32770: Restore phone all_phone vs all_phones That was caught by Selenium tests t/db_dependent/selenium/patrons_search.t Signed-off-by: Tomas Cohen Arazi (cherry picked from commit c500fd3c61f3ef5527c31d1904c3174f784452e2) Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/en/includes/patronfields.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patronfields.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patronfields.inc index 089f8c76b6..c48fa6c28a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patronfields.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patronfields.inc @@ -90,7 +90,7 @@ [% SET full_address = 'streetnumber,streettype,address,address2,city,state,zipcode,country' %] [% SET all_emails = 'email,emailpro,B_email' %] [% SET all_phones = 'phone,phonepro,B_phone,altcontactphone,mobile' %] - [% default_fields = [ standard, 'surname', 'cardnumber', all_emails, 'borrowernumber', 'userid', all_phone, full_address, 'dateofbirth', 'sort1', 'sort2' ] %] + [% default_fields = [ standard, 'surname', 'cardnumber', all_emails, 'borrowernumber', 'userid', all_phones, full_address, 'dateofbirth', 'sort1', 'sort2' ] %] [% search_options = default_fields.merge(standard.split(',')).unique %] [% FOREACH s_o IN search_options %] [% display_name = PROCESS patron_fields name=s_o %] -- 2.39.5