[open-ils-commits] r15288 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Jan 8 15:58:35 EST 2010


Author: miker
Date: 2010-01-08 15:58:30 -0500 (Fri, 08 Jan 2010)
New Revision: 15288

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
Log:
fix overdu_circs thinkos from reservation work

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm	2010-01-08 20:23:06 UTC (rev 15287)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm	2010-01-08 20:58:30 UTC (rev 15288)
@@ -127,10 +127,11 @@
 	SQL
 
 	$sth = action::circulation->db_Main->prepare_cached($sql);
-	$sth->execute($upper_interval);
+	$sth->execute();
 
-	@circs = map { booking::reservation->construct($_) } $sth->fetchall_hash;
+    push @circs, map { booking::reservation->construct($_) } $sth->fetchall_hash;
 
+    return @circs;
 }
 
 sub complete_reshelving {



More information about the open-ils-commits mailing list