Bug 7159 - Add branchcode to circulation.pl search (take two, revising with Owen...
authorLiz Rea <lrea@nekls.org>
Fri, 4 Nov 2011 19:37:11 +0000 (14:37 -0500)
committerPaul Poulain <paul.poulain@biblibre.com>
Mon, 12 Dec 2011 14:50:25 +0000 (15:50 +0100)
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.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
circ/circulation.pl

index fa043dd..ad6773e 100755 (executable)
@@ -510,7 +510,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',