[open-ils-commits] r13032 - trunk/Open-ILS/src/sql/Pg (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri May 1 14:50:52 EDT 2009
Author: miker
Date: 2009-05-01 14:50:49 -0400 (Fri, 01 May 2009)
New Revision: 13032
Modified:
trunk/Open-ILS/src/sql/Pg/012.schema.vandelay.sql
Log:
disambiguate the owning_lib field
Modified: trunk/Open-ILS/src/sql/Pg/012.schema.vandelay.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/012.schema.vandelay.sql 2009-05-01 16:52:43 UTC (rev 13031)
+++ trunk/Open-ILS/src/sql/Pg/012.schema.vandelay.sql 2009-05-01 18:50:49 UTC (rev 13032)
@@ -366,7 +366,7 @@
SELECT id INTO attr_set.location
FROM asset.copy_location
WHERE LOWER(name) = LOWER(tmp_attr_set.cl)
- AND owning_lib = COALESCE(attr_set.owning_lib, attr_set.circ_lib); -- INT
+ AND asset.copy_location.owning_lib = COALESCE(attr_set.owning_lib, attr_set.circ_lib); -- INT
attr_set.circulate :=
LOWER( SUBSTRING( tmp_attr_set.circ, 1, 1)) IN ('t','y','1')
More information about the open-ils-commits
mailing list