From: miker Date: Thu, 4 Dec 2008 21:11:24 +0000 (+0000) Subject: typo in reporter view X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=80de48fa9f80ebc9d21dc07f12621bce5138c4dd;p=Evergreen.git typo in reporter view git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2_3@11409 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/sql/Pg/extend-reporter.sql b/Open-ILS/src/sql/Pg/extend-reporter.sql index 98d5aca932..24925b7edb 100644 --- a/Open-ILS/src/sql/Pg/extend-reporter.sql +++ b/Open-ILS/src/sql/Pg/extend-reporter.sql @@ -29,7 +29,7 @@ CREATE VIEW extend_reporter.full_circ_count AS 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;