[open-ils-commits] r11409 - branches/rel_1_2_3/Open-ILS/src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Dec 4 16:11:28 EST 2008
Author: miker
Date: 2008-12-04 16:11:24 -0500 (Thu, 04 Dec 2008)
New Revision: 11409
Modified:
branches/rel_1_2_3/Open-ILS/src/sql/Pg/extend-reporter.sql
Log:
typo in reporter view
Modified: branches/rel_1_2_3/Open-ILS/src/sql/Pg/extend-reporter.sql
===================================================================
--- branches/rel_1_2_3/Open-ILS/src/sql/Pg/extend-reporter.sql 2008-12-04 21:11:07 UTC (rev 11408)
+++ branches/rel_1_2_3/Open-ILS/src/sql/Pg/extend-reporter.sql 2008-12-04 21:11:24 UTC (rev 11409)
@@ -29,7 +29,7 @@
SELECT cp.id, COALESCE(sum(c.circ_count), 0::bigint) + COALESCE(count(circ.id), 0::bigint) AS circ_count
FROM asset."copy" cp
LEFT JOIN extend_reporter.legacy_circ_count c USING (id)
- LEFT JOIN "action".circulation circ ON circ.target_copy = c.id
+ LEFT JOIN "action".circulation circ ON circ.target_copy = cp.id
GROUP BY cp.id;
COMMIT;
More information about the open-ils-commits
mailing list