From 88c00cf18f753b266fb2d66824883077c5dfb177 Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Fri, 4 Nov 2011 14:23:31 -0500 Subject: [PATCH] Bug 7159 - Add branchcode to circulation.pl search 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 | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index efb87da..609aaf4 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -498,8 +498,9 @@ if ($borrowerslist) { ) { push @values, $_->{'borrowernumber'}; +"$_->{'surname'}, $_->{'firstname'}. ($_->{'cardnumber'} - $_->{'categorycode'}) -- $_->{'address'}, $_->{'city'} -- $_->{'branchcode'} "; $labels{ $_->{'borrowernumber'} } = -"$_->{'surname'}, $_->{'firstname'} ... ($_->{'cardnumber'} - $_->{'categorycode'}) ... $_->{'address'} "; +"$_->{'surname'}, $_->{'firstname'} ... ($_->{'cardnumber'} - $_->{'categorycode'}) ... $_->{'address'} -- $_->{'branchcode'}"; } $CGIselectborrower = CGI::scrolling_list( -name => 'borrowernumber', -- 1.7.2.5