From 13e86d342c9b320afbbcc2c1007bcded07468599 Mon Sep 17 00:00:00 2001 From: Rogan Hamby Date: Mon, 9 Jul 2018 16:01:44 -0400 Subject: [PATCH] adding report to xml file --- mig-xml/evergreen_staged_report.xml | 17 ++++++++++++++--- 1 files changed, 14 insertions(+), 3 deletions(-) diff --git a/mig-xml/evergreen_staged_report.xml b/mig-xml/evergreen_staged_report.xml index 1a75e3e..491965c 100644 --- a/mig-xml/evergreen_staged_report.xml +++ b/mig-xml/evergreen_staged_report.xml @@ -44,9 +44,20 @@ circ_count circs 0 - Open Circulations - Circulation Status.Migrated.Count of Circs - SELECT 'Closed Circulations', x_migrate::TEXT, COUNT(id) FROM action_circulation_legacy WHERE xact_finish IS NOT NULL GROUP BY 2 UNION ALL SELECT 'Open Circulations', x_migrate::TEXT, COUNT(id) FROM action_circulation_legacy WHERE xact_finish IS NULL GROUP BY 2 + Migrated Circulations + Circulation Status.Count of Circs + SELECT 'Closed Circulations', COUNT(id) FROM action_circulation_legacy WHERE xact_finish IS NOT NULL AND x_migrate + UNION ALL SELECT 'Open Circulations', COUNT(id) FROM action_circulation_legacy WHERE xact_finish IS NULL AND x_migrate + + + + circ_count_unmigrated + circs + 0 + Open Un-migrated Circulations + Circulation Status.Count of Circs + SELECT 'No Matching User', COUNT(id) FROM action_circulation_legacy WHERE xact_finish IS NULL AND x_migrate = FALSE AND usr IS NULL + UNION ALL SELECT 'No Matching Item', COUNT(id) FROM action_circulation_legacy WHERE xact_finish IS NULL AND x_migrate = FALSE AND target_copy IS NULL -- 1.7.2.5