[Koha-cvs] CVS: koha/C4 Search.pm,1.39,1.40

Finlay Thompson finlayt at users.sourceforge.net
Thu Oct 3 05:56:12 CEST 2002


Update of /cvsroot/koha/koha/C4
In directory usw-pr-cvs1:/tmp/cvs-serv10783/C4

Modified Files:
	Search.pm 
Log Message:

Added a field to the barcodes sql search, now it returns the holding branch as well.


Index: Search.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Search.pm,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -r1.39 -r1.40
*** Search.pm	22 Sep 2002 16:51:11 -0000	1.39
--- Search.pm	3 Oct 2002 03:56:10 -0000	1.40
***************
*** 2307,2311 ****
      my ($biblioitemnumber)=@_;
      my $dbh=C4Connect;
!     my $query="SELECT barcode, itemlost FROM items
                             WHERE biblioitemnumber = ?
                               AND (wthdrawn <> 1 OR wthdrawn IS NULL)";
--- 2307,2311 ----
      my ($biblioitemnumber)=@_;
      my $dbh=C4Connect;
!     my $query="SELECT barcode, itemlost, holdingbranch FROM items
                             WHERE biblioitemnumber = ?
                               AND (wthdrawn <> 1 OR wthdrawn IS NULL)";





More information about the Koha-cvs mailing list