From 8fbf21da1c540d19cc19fe75c0a5cb83a8fbe849 Mon Sep 17 00:00:00 2001 From: Ketan Kulkarni Date: Wed, 9 Oct 2013 20:07:27 +0530 Subject: [PATCH] Bug 10318: Show primary email in patron search results This patch makes the patron's primary email address be displayed (as a mailto link) on the patron search results page. Signed-off-by: Melissa Lefebvre Signed-off-by: Katrin Fischer Works as described, template only change. Signed-off-by: Galen Charlton --- koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt index 7f64554c02..b906e2be0a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt @@ -192,7 +192,9 @@ function CheckForm() { [% INCLUDE 'patron-title.inc' borrowernumber = resultsloo.borrowernumber category_type = resultsloo.category_type firstname = resultsloo.firstname surname = resultsloo.surname othernames = resultsloo.othernames cardnumber = resultsloo.cardnumber invert_name = 1%]
- [% IF ( resultsloo.streetnumber ) %][% resultsloo.streetnumber %] [% END %][% resultsloo.address %][% IF ( resultsloo.address2 ) %]
[% resultsloo.address2 %][% END %][% IF ( resultsloo.city ) %]
[% resultsloo.city %][% IF ( resultsloo.state ) %],[% END %][% END %][% IF ( resultsloo.state ) %] [% resultsloo.state %][% END %] [% IF ( resultsloo.zipcode ) %] [% resultsloo.zipcode %][% END %][% IF ( resultsloo.country ) %], [% resultsloo.country %][% END %] + [% IF ( resultsloo.streetnumber ) %][% resultsloo.streetnumber %] [% END %][% resultsloo.address %][% IF ( resultsloo.address2 ) %]
[% resultsloo.address2 %][% END %][% IF ( resultsloo.city ) %]
[% resultsloo.city %][% IF ( resultsloo.state ) %],[% END %][% END %][% IF ( resultsloo.state ) %] [% resultsloo.state %][% END %] [% IF ( resultsloo.zipcode ) %] [% resultsloo.zipcode %][% END %][% IF ( resultsloo.country ) %], [% resultsloo.country %][% END %] + [% IF (resultsloo.email ) %]
Email: [% resultsloo.email %][% END %] + [% resultsloo.category_description %] ([% resultsloo.category_type %]) [% resultsloo.branchname %] [% resultsloo.dateexpiry %] -- 2.39.5