Bugzilla – Attachment 102043 Details for
Bug 22087
Show city and state in patron search results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22087: It would be helpful to have City and State visible in member.pl
Bug-22087-It-would-be-helpful-to-have-City-and-Sta.patch (text/plain), 1.71 KB, created by
David Roberts
on 2020-03-29 00:56:07 UTC
(
hide
)
Description:
Bug 22087: It would be helpful to have City and State visible in member.pl
Filename:
MIME Type:
Creator:
David Roberts
Created:
2020-03-29 00:56:07 UTC
Size:
1.71 KB
patch
obsolete
>From e6176c7ff63c58b77efe6df38fbd33bad70c92eb Mon Sep 17 00:00:00 2001 >From: David Roberts <david@koha-ptfs.co.uk> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 22087
:
102043
|
102064
|
102448
|
102449
|
102450
|
102451
|
102466
|
102482
|
102483
|
102484
|
102485
|
102486
|
102492
|
102505
|
102506
|
102507
|
107420
|
107421
|
107422
|
107423
|
107424
|
107425
|
107427
|
107428
|
107543
|
107544
|
107545
|
107546
|
107547
|
107548
|
107549