[open-ils-commits] r11406 - trunk/Open-ILS/src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Dec 4 16:10:19 EST 2008
Author: miker
Date: 2008-12-04 16:10:15 -0500 (Thu, 04 Dec 2008)
New Revision: 11406
Modified:
trunk/Open-ILS/src/sql/Pg/extend-reporter.sql
Log:
typo in reporter view
Modified: trunk/Open-ILS/src/sql/Pg/extend-reporter.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/extend-reporter.sql 2008-12-04 20:03:51 UTC (rev 11405)
+++ trunk/Open-ILS/src/sql/Pg/extend-reporter.sql 2008-12-04 21:10:15 UTC (rev 11406)
@@ -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".all_circulation circ ON circ.target_copy = c.id
+ LEFT JOIN "action".all_circulation circ ON circ.target_copy = cp.id
GROUP BY cp.id;
COMMIT;
More information about the open-ils-commits
mailing list