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

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Mar 4 09:25:22 EST 2011


Author: miker
Date: 2011-03-04 09:25:20 -0500 (Fri, 04 Mar 2011)
New Revision: 19579

Modified:
   branches/rel_1_6/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/Open-ILS/src/sql/Pg/500.view.cross-schema.sql
===================================================================
--- branches/rel_1_6/Open-ILS/src/sql/Pg/500.view.cross-schema.sql	2011-03-04 14:24:15 UTC (rev 19578)
+++ branches/rel_1_6/Open-ILS/src/sql/Pg/500.view.cross-schema.sql	2011-03-04 14:25:20 UTC (rev 19579)
@@ -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