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

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Oct 27 16:50:58 EDT 2009


Author: miker
Date: 2009-10-27 16:50:53 -0400 (Tue, 27 Oct 2009)
New Revision: 14637

Modified:
   branches/rel_1_6_0/Open-ILS/src/sql/Pg/100.circ_matrix.sql
Log:
forward-porting r14636: correct ambiguous select

Modified: branches/rel_1_6_0/Open-ILS/src/sql/Pg/100.circ_matrix.sql
===================================================================
--- branches/rel_1_6_0/Open-ILS/src/sql/Pg/100.circ_matrix.sql	2009-10-27 20:49:53 UTC (rev 14636)
+++ branches/rel_1_6_0/Open-ILS/src/sql/Pg/100.circ_matrix.sql	2009-10-27 20:50:53 UTC (rev 14637)
@@ -336,7 +336,7 @@
           FROM  action.circulation circ
             JOIN asset.copy cp ON (cp.id = circ.target_copy)
           WHERE circ.usr = match_user
-               AND circ_lib IN ( SELECT * FROM explode_array(context_org_list) )
+               AND circ.circ_lib IN ( SELECT * FROM explode_array(context_org_list) )
             AND circ.checkin_time IS NULL
             AND (circ.stop_fines IN ('MAXFINES','LONGOVERDUE') OR circ.stop_fines IS NULL)
             AND cp.circ_modifier IN (SELECT circ_mod FROM config.circ_matrix_circ_mod_test_map WHERE circ_mod_test = out_by_circ_mod.id);



More information about the open-ils-commits mailing list