From 29b7df6c2f9437f432812a82d806c5e7565310eb Mon Sep 17 00:00:00 2001 From: miker Date: Fri, 1 May 2009 18:50:49 +0000 Subject: [PATCH] disambiguate the owning_lib field git-svn-id: svn://svn.open-ils.org/ILS/trunk@13032 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/sql/Pg/012.schema.vandelay.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/sql/Pg/012.schema.vandelay.sql b/Open-ILS/src/sql/Pg/012.schema.vandelay.sql index b9503e44a6..47f5545422 100644 --- a/Open-ILS/src/sql/Pg/012.schema.vandelay.sql +++ b/Open-ILS/src/sql/Pg/012.schema.vandelay.sql @@ -366,7 +366,7 @@ BEGIN 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') -- 2.11.0