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

Liz Rea lrea at nekls.org
Fri Nov 4 20:39:33 CET 2011


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 Koha-patches mailing list