From: miker Date: Thu, 4 Dec 2008 21:11:51 +0000 (+0000) Subject: typo in reporter view X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e105827e08bbd2075982076dcc39f7850e7d2cb4;p=Evergreen.git typo in reporter view git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2_4@11410 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;