[Koha-cvs] koha/C4 Biblio.pm [rel_2_2]

paul poulain paul at koha-fr.org
Wed Sep 13 16:30:32 CEST 2006


CVSROOT:	/cvsroot/koha
Module name:	koha
Branch:		rel_2_2
Changes by:	paul poulain <tipaul>	06/09/13 14:30:32

Modified files:
	C4             : Biblio.pm 

Log message:
	oups...
	homebranch & holdingbranch modifications where just in an improper {} : should be done everytime (not only when item is lost)
	
	Fixes bug #1163

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Biblio.pm?cvsroot=koha&only_with_tag=rel_2_2&r1=1.115.2.60&r2=1.115.2.61

Patches:
Index: Biblio.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Biblio.pm,v
retrieving revision 1.115.2.60
retrieving revision 1.115.2.61
diff -u -b -r1.115.2.60 -r1.115.2.61
--- Biblio.pm	4 Aug 2006 15:00:50 -0000	1.115.2.60
+++ Biblio.pm	13 Sep 2006 14:30:31 -0000	1.115.2.61
@@ -26,7 +26,7 @@
 use vars qw($VERSION @ISA @EXPORT);
 
 # set the version for version checking
-$VERSION = do { my @v = '$Revision: 1.115.2.60 $' =~ /\d+/g;
+$VERSION = do { my @v = '$Revision: 1.115.2.61 $' =~ /\d+/g;
                     shift(@v) . "." . join("_", map {sprintf "%03d", $_ } @v); };
 
 @ISA = qw(Exporter);
@@ -2012,6 +2012,7 @@
 			$item->{multivolume},		$item->{stack},
 			$item->{wthdrawn},
         );
+    }
 		if ($item->{homebranch}) {
 			$query.=",homebranch=?";
 			push @bind, $item->{homebranch};
@@ -2020,7 +2021,6 @@
 			$query.=",holdingbranch=?";
 			push @bind, $item->{holdingbranch};
 		}
-    }
 	$query.=" where itemnumber=?";
 	push @bind,$item->{'itemnum'};
    if ( $item->{'replacement'} ne '' ) {
@@ -3015,8 +3015,14 @@
 
 =cut
 
-# $Id: Biblio.pm,v 1.115.2.60 2006/08/04 15:00:50 kados Exp $
+# $Id: Biblio.pm,v 1.115.2.61 2006/09/13 14:30:31 tipaul Exp $
 # $Log: Biblio.pm,v $
+# Revision 1.115.2.61  2006/09/13 14:30:31  tipaul
+# oups...
+# homebranch & holdingbranch modifications where just in an improper {} : should be done everytime (not only when item is lost)
+#
+# Fixes bug #1163
+#
 # Revision 1.115.2.60  2006/08/04 15:00:50  kados
 # fix for bug 1139: ISBN search fails with double dashes
 #





More information about the Koha-cvs mailing list