[Patches] [PATCH] Bug 7159 - Add branchcode to circulation.pl search (take two, revising with Owen's suggestion)

koha-patchbot at kohaaloha.com koha-patchbot at kohaaloha.com
Sat Nov 5 08:50:03 NZDT 2011


From: Liz Rea <lrea at nekls.org>
Date: Fri, 4 Nov 2011 14:37:11 -0500
Subject: [PATCH] Bug 7159 -  Add branchcode to circulation.pl search (take two, revising with Owen's suggestion)
Content-Type: text/plain; charset="utf-8"

I know there's talk of getting rid of this patron search method, but I had a
request for this and so here it is.

To test:
verify that branchcode is displayed on patron search results from
circulation.pl.
---
 circ/circulation.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/circ/circulation.pl b/circ/circulation.pl
index efb87da..7c408b0 100755
--- a/circ/circulation.pl
+++ b/circ/circulation.pl
@@ -499,7 +499,7 @@ if ($borrowerslist) {
     {
         push @values, $_->{'borrowernumber'};
         $labels{ $_->{'borrowernumber'} } =
-"$_->{'surname'}, $_->{'firstname'} ... ($_->{'cardnumber'} - $_->{'categorycode'}) ...  $_->{'address'} ";
+"$_->{'surname'}, $_->{'firstname'} ... ($_->{'cardnumber'} - $_->{'categorycode'} - $_->{'branchcode'}) ...  $_->{'address'} ";
     }
     $CGIselectborrower = CGI::scrolling_list(
         -name     => 'borrowernumber',
-- 
1.7.2.5


More information about the Patches mailing list