From e6176c7ff63c58b77efe6df38fbd33bad70c92eb Mon Sep 17 00:00:00 2001 From: David Roberts Date: Sun, 29 Mar 2020 00:50:30 +0000 Subject: [PATCH] Bug 22087: It would be helpful to have City and State visible in member.pl This patch adds City, State and Zipcode to the display of a patron search To test: 1) Do a patron search that retrieves more than one user so you see the results table 2) In the Names column, see that the patron address display without city, state and zipcode. 3) Install the patch 4) Repeat the search. City, state and zipcode will now display in the table. 5) Check that this is working from both member.pl and members-home.pl --- .../intranet-tmpl/prog/en/modules/members/tables/members_results.tt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt index 2c047fd8f5..02e1485701 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt @@ -45,5 +45,8 @@ [%~ IF data.streettype %][% SET address = address _ AuthorisedValues.GetByCode( 'ROADTYPE', data.streettype ) _ ' ' %][% END %] [%~ IF data.address %][% SET address = address _ data.address _ ' ' %][% END %] [%~ IF data.address2 %][% SET address = address _ data.address2 _ ' ' %][% END %] +[%~ IF data.city %][% SET address = address _ data.city _ ' ' %][% END %] +[%~ IF data.state %][% SET address = address _ data.state _ ' ' %][% END %] +[%~ IF data.zipcode %][% SET address = address _ data.zipcode _ ' ' %][% END %] [%~ address | html | $To ~%] [% END %] -- 2.11.0