fix acq view creation add_new_classic_current_circ
authorChris Sharp <csharp@georgialibraries.org>
Fri, 18 Mar 2022 14:07:46 +0000 (10:07 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 18 Mar 2022 14:07:46 +0000 (10:07 -0400)
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/src/sql/Pg/example.reporter-extension.sql

index 6deebd9..b2e2dce 100644 (file)
@@ -437,7 +437,7 @@ CREATE OR REPLACE VIEW reporter.acq_invoice_summary_view AS
            LEFT OUTER JOIN actor.org_unit receiver ON (invoice.receiver = receiver.id)
            LEFT OUTER JOIN actor.usr closer ON (invoice.closed_by = closer.id);
 
-CREATE VIEW reporter.acq_purchase_order_summary_view AS
+CREATE OR REPLACE VIEW reporter.acq_purchase_order_summary_view AS
 SELECT  po.id,
     po.owner,
     po.creator,