Bugzilla – Attachment 12580 Details for
Bug 8812
Staff Client: Patron search should display branch name instead of branch code in results table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8812 - Staff Client: Patron search should display branch name instead of branch code in results table
Bug-8812---Staff-Client-Patron-search-should-displ.patch (text/plain), 2.42 KB, created by
Paul Poulain
on 2012-09-28 13:11:30 UTC
(
hide
)
Description:
Bug 8812 - Staff Client: Patron search should display branch name instead of branch code in results table
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2012-09-28 13:11:30 UTC
Size:
2.42 KB
patch
obsolete
>From 73d71a58a1b01c0c3e768cd800c734a4b8fd1130 Mon Sep 17 00:00:00 2001 >From: Marc Veron <veron@veron.ch> >Date: Mon, 24 Sep 2012 18:14:37 +0200 >Subject: [PATCH] Bug 8812 - Staff Client: Patron search should display branch name instead of branch code in results table > >Patch to display branchname instead of branch code. > >Signed-off-by: Delaye Stephane <stephane.delaye@biblibre.com> >--- > .../prog/en/modules/members/member.tt | 2 +- > members/member.pl | 1 + > 2 files changed, 2 insertions(+), 1 deletions(-) > >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 7060cbf..8c577c3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >@@ -66,7 +66,7 @@ > </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> >+ <td>[% resultsloo.branchname %]</td> > <td>[% resultsloo.dateexpiry %]</td> > <td>[% IF ( resultsloo.overdues ) %]<span class="overdue"><strong>[% resultsloo.overdues %]</strong></span>[% ELSE %][% resultsloo.overdues %][% END %]/[% resultsloo.issues %]</td> > <td>[% IF ( resultsloo.fines < 0 ) %]<span class="credit">[% resultsloo.fines %]</span> [% ELSIF resultsloo.fines > 0 %] <span class="debit"><strong>[% resultsloo.fines %]</strong></span> [% ELSE %] [% resultsloo.fines %] [% END %]</td> >diff --git a/members/member.pl b/members/member.pl >index bef3323..f8aa4f1 100755 >--- a/members/member.pl >+++ b/members/member.pl >@@ -141,6 +141,7 @@ foreach my $borrower(@$results[$from..$to-1]){ > issues => $issue, > odissue => "$od/$issue", > fines => sprintf("%.2f",$fines), >+ branchname => $branches->{$borrower->{branchcode}}->{branchname}, > ); > push(@resultsdata, \%row); > } >-- >1.7.2.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 8812
:
12479
|
12580
|
12584