[open-ils-commits] r11324 - trunk/Open-ILS/src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Nov 24 17:19:38 EST 2008
Author: erickson
Date: 2008-11-24 17:19:33 -0500 (Mon, 24 Nov 2008)
New Revision: 11324
Modified:
trunk/Open-ILS/src/sql/Pg/100.circ_matrix.sql
Log:
repaired column name
Modified: trunk/Open-ILS/src/sql/Pg/100.circ_matrix.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/100.circ_matrix.sql 2008-11-24 21:18:37 UTC (rev 11323)
+++ trunk/Open-ILS/src/sql/Pg/100.circ_matrix.sql 2008-11-24 22:19:33 UTC (rev 11324)
@@ -306,7 +306,7 @@
FOR standing_penalty IN
SELECT DISTINCT csp.*
FROM actor.usr_standing_penalty usp
- JOIN config.standing_penalty csp ON (csp.id = usp.penalty)
+ JOIN config.standing_penalty csp ON (csp.id = usp.standing_penalty)
WHERE usr = match_user
AND usp.org_unit IN ( SELECT * FROM explode_array(context_org_list) )
AND csp.block_list LIKE penalty_type LOOP
More information about the open-ils-commits
mailing list