[open-ils-commits] r9880 - trunk/Open-ILS/src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jun 19 13:14:10 EDT 2008
Author: miker
Date: 2008-06-19 13:14:07 -0400 (Thu, 19 Jun 2008)
New Revision: 9880
Modified:
trunk/Open-ILS/src/sql/Pg/extend-reporter.sql
Log:
typo
Modified: trunk/Open-ILS/src/sql/Pg/extend-reporter.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/extend-reporter.sql 2008-06-19 17:13:08 UTC (rev 9879)
+++ trunk/Open-ILS/src/sql/Pg/extend-reporter.sql 2008-06-19 17:14:07 UTC (rev 9880)
@@ -20,7 +20,7 @@
CREATE SCHEMA extend_reporter;
-CREATE TABLE extend_reporter.legcay_circ_count (
+CREATE TABLE extend_reporter.legacy_circ_count (
id BIGSERIAL PRIMARY KEY REFERENCES asset.copy (id),
circ_count INT NOT NULL DEFAULT 0
);
@@ -28,7 +28,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.legcay_circ_count c USING (id)
+ LEFT JOIN extend_reporter.legacy_circ_count c USING (id)
LEFT JOIN "action".all_circulation circ ON circ.target_copy = c.id
GROUP BY cp.id;
More information about the open-ils-commits
mailing list