[open-ils-commits] r14636 - tags/rel_1_6_0_0/Open-ILS/src/sql/Pg (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Oct 27 16:49:58 EDT 2009
Author: miker
Date: 2009-10-27 16:49:53 -0400 (Tue, 27 Oct 2009)
New Revision: 14636
Modified:
tags/rel_1_6_0_0/Open-ILS/src/sql/Pg/100.circ_matrix.sql
Log:
correct ambiguous select
Modified: tags/rel_1_6_0_0/Open-ILS/src/sql/Pg/100.circ_matrix.sql
===================================================================
--- tags/rel_1_6_0_0/Open-ILS/src/sql/Pg/100.circ_matrix.sql 2009-10-27 19:06:24 UTC (rev 14635)
+++ tags/rel_1_6_0_0/Open-ILS/src/sql/Pg/100.circ_matrix.sql 2009-10-27 20:49:53 UTC (rev 14636)
@@ -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