Bugzilla – Attachment 53960 Details for
Bug 16894
re-show email on patron search results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16894: Regression - Display email on patron search results
Bug-16894-Regression---Display-email-on-patron-sea.patch (text/plain), 2.11 KB, created by
Jonathan Druart
on 2016-08-03 15:43:50 UTC
(
hide
)
Description:
Bug 16894: Regression - Display email on patron search results
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-08-03 15:43:50 UTC
Size:
2.11 KB
patch
obsolete
>From b96f7e4a4da6f9dfc98548715b7c4b6fd581400f Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 3 Aug 2016 16:41:48 +0100 >Subject: [PATCH] Bug 16894: Regression - Display email on patron search > results > >Bug 10318 added the email to the patron search results but it has been >removed later. >This patch reintroduced it where it was (no new column). > >Test plan: >Search for patrons and confirm that the emails are displayed. >--- > .../intranet-tmpl/prog/en/modules/members/tables/members_results.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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 b97fbac..cd37507 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 >@@ -15,7 +15,7 @@ > "dt_cardnumber": > "[% data.cardnumber | html %]", > "dt_name": >- "<span style='white-space:nowrap'><a href='/cgi-bin/koha/members/moremember.pl?borrowernumber=[% data.borrowernumber %]'>[% INCLUDE 'patron-title.inc' borrowernumber = data.borrowernumber category_type = data.category_type firstname = To.json(data.firstname) surname = To.json(data.surname) othernames = To.json(data.othernames) invert_name = 1 %]</a><br />[% INCLUDE escape_address data = data %]</span>", >+ "<span style='white-space:nowrap'><a href='/cgi-bin/koha/members/moremember.pl?borrowernumber=[% data.borrowernumber %]'>[% INCLUDE 'patron-title.inc' borrowernumber = data.borrowernumber category_type = data.category_type firstname = To.json(data.firstname) surname = To.json(data.surname) othernames = To.json(data.othernames) invert_name = 1 %]</a><br />[% INCLUDE escape_address data = data %][% IF data.email %]<br/>Email: <a href='mailto:[% data.email | html %]'>[% data.email | html %]</a>[% END %]</span>", > "dt_dateofbirth": > "[% data.dateofbirth | $KohaDates %]", > "dt_category": >-- >2.8.1
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 16894
:
53960
|
53993
|
54115