Bugzilla – Attachment 11171 Details for
Bug 8514
Display of patron results changed display order
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 8514 Restore Patron Name Display Order
SIGNED-OFF-Bug-8514-Restore-Patron-Name-Display-Or.patch (text/plain), 4.15 KB, created by
Owen Leonard
on 2012-07-27 15:57:08 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 8514 Restore Patron Name Display Order
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2012-07-27 15:57:08 UTC
Size:
4.15 KB
patch
obsolete
>From b3012931ffcc8a091d3d7cacccc4d363041d12e6 Mon Sep 17 00:00:00 2001 >From: Colin Campbell <colin.campbell@ptfs-europe.com> >Date: Fri, 27 Jul 2012 16:32:49 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 8514 Restore Patron Name Display Order >Content-Type: text/plain; charset="utf-8" > >Bug 6303 introduced an include file governing patron name display >unfortunately that changed patron display in search result lists and >on the circ screen header. This adds a parameter restroring the >original surname, firstname order, whose absence was perceived >as a loss of functionality > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../prog/en/includes/patron-title.inc | 6 +++++- > .../prog/en/modules/circ/circulation.tt | 6 +++++- > .../prog/en/modules/members/member.tt | 6 ++++-- > 3 files changed, 14 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc >index d07a449..c05c9be 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc >@@ -1,6 +1,10 @@ > [% IF category_type == 'I' %] > [% surname %] [% IF othernames %] ([% othernames %]) [% END %] > [% ELSE %] >- [% firstname %] [% surname %] >+ [% IF invert_name %] >+ [% surname %], [% firstname %] >+ [% ELSE %] >+ [% firstname %] [% surname %] >+ [% END %] > [% END %] > ([% cardnumber %]) >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index 6f72392..1d6bf75 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -1,6 +1,10 @@ > [% USE KohaDates %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › Circulation [% IF ( borrowernumber ) %] › Checking out to [% INCLUDE 'patron-title.inc' %] [% END %]</title> >+<title>Koha › Circulation >+[% IF borrowernumber %] >+ › Checking out to [% INCLUDE 'patron-title.inc' invert_name = 1 %] >+[% END %] >+</title> > [% INCLUDE 'doc-head-close.inc' %] > [% INCLUDE 'calendar.inc' %] > [% IF ( UseTablesortForCirc ) %]<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>[% END %] >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 e226c04..d17d893 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >@@ -60,8 +60,10 @@ > [% END %] > [% END %] > <td>[% resultsloo.cardnumber %]</td> >- <td style="white-space: nowrap;"><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% resultsloo.borrowernumber %]"> >- [% INCLUDE 'patron-title.inc' category_type = resultsloo.category_type firstname = resultsloo.firstname surname = resultsloo.surname othernames = resultsloo.othernames cardnumber = resultsloo.cardnumber %]</a> <br /> >+ <td style="white-space: nowrap;"> >+ <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% resultsloo.borrowernumber %]"> >+ [% INCLUDE 'patron-title.inc' category_type = resultsloo.category_type firstname = resultsloo.firstname surname = resultsloo.surname othernames = resultsloo.othernames cardnumber = resultsloo.cardnumber invert_name = 1%] >+ </a> <br /> > [% IF ( resultsloo.streetnumber ) %][% resultsloo.streetnumber %] [% END %][% resultsloo.address %][% IF ( resultsloo.address2 ) %]<br />[% resultsloo.address2 %][% END %][% IF ( resultsloo.city ) %]<br />[% 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 %]</td> > <td>[% resultsloo.category_description %] ([% resultsloo.category_type %])</td> > <td>[% resultsloo.branchcode %]</td> >-- >1.7.9.5
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 8514
:
11170
| 11171