[open-ils-commits] r19577 - branches/rel_1_6_1/Open-ILS/src/sql/Pg (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Mar 4 09:23:45 EST 2011


Author: miker
Date: 2011-03-04 09:23:43 -0500 (Fri, 04 Mar 2011)
New Revision: 19577

Modified:
   branches/rel_1_6_1/Open-ILS/src/sql/Pg/500.view.cross-schema.sql
Log:
correct the MOBTS view with regard to reservation additions (only affects reporting)

Modified: branches/rel_1_6_1/Open-ILS/src/sql/Pg/500.view.cross-schema.sql
===================================================================
--- branches/rel_1_6_1/Open-ILS/src/sql/Pg/500.view.cross-schema.sql	2011-03-04 04:58:41 UTC (rev 19576)
+++ branches/rel_1_6_1/Open-ILS/src/sql/Pg/500.view.cross-schema.sql	2011-03-04 14:23:43 UTC (rev 19577)
@@ -37,7 +37,7 @@
 	  	JOIN pg_class p ON (xact.tableoid = p.oid)
 		LEFT JOIN "action".circulation circ ON (circ.id = xact.id)
 		LEFT JOIN money.grocery groc ON (groc.id = xact.id)
-		LEFT JOIN booking.reservation res ON (groc.id = xact.id)
+		LEFT JOIN booking.reservation res ON (res.id = xact.id)
 	  	LEFT JOIN (
 			SELECT	billing.xact,
 				billing.voided,



More information about the open-ils-commits mailing list