[Koha-cvs] CVS: koha/C4/Circulation Circ2.pm,1.87.2.6,1.87.2.7

Joshua Ferraro joshferraro at users.sourceforge.net
Fri May 20 20:55:11 CEST 2005


Update of /cvsroot/koha/koha/C4/Circulation
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2811/Circulation

Modified Files:
      Tag: rel_2_2
	Circ2.pm 
Log Message:
Fix to Bug 844: renewstatus subroutine should check for reserves -- now it does.
Note that I'm assuming that all libraries don't want items reserved for others to be renewalable.


Index: Circ2.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Circulation/Circ2.pm,v
retrieving revision 1.87.2.6
retrieving revision 1.87.2.7
diff -C2 -r1.87.2.6 -r1.87.2.7
*** Circ2.pm	20 May 2005 14:32:47 -0000	1.87.2.6
--- Circ2.pm	20 May 2005 18:55:08 -0000	1.87.2.7
***************
*** 1623,1626 ****
--- 1623,1630 ----
  		}
  		$sth2->finish;
+ 		my ($resfound, $resrec) = CheckReserves($itemno);
+ 		if ($resfound) {
+ 			$renewokay = 0;
+ 		}
  	}
  	$sth1->finish;





More information about the Koha-cvs mailing list