X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=blobdiff_plain;f=mig-xml%2Fevergreen_staged_report.xml;h=1a75e3e5069e70e98f3fbc10ebba3cb081c08650;hp=47b2423547d4cf092b32093d1ecb76688f8e8880;hb=5b5278e6024c476c0ed7331a43fcd52f8a7a8232;hpb=56e8fc6dd11c64e0d088aeae7d089c93f2a06eb9 diff --git a/mig-xml/evergreen_staged_report.xml b/mig-xml/evergreen_staged_report.xml index 47b2423..1a75e3e 100644 --- a/mig-xml/evergreen_staged_report.xml +++ b/mig-xml/evergreen_staged_report.xml @@ -431,7 +431,7 @@ 0 Collision List SELECT ac.barcode FROM asset_copy_legacy ac WHERE ac.barcode ~* 'collision' ORDER BY 1 LIMIT 20 - This is a shortlist of patron barcode collisions that maxes out at 20. If there are more collisions we will need to run a custom report. + This is a shortlist of copy barcode collisions that maxes out at 20. If there are more collisions we will need to run a custom report. @@ -646,7 +646,7 @@ id = ac_sc.owner GROUP BY 2,3 ORDER BY 2,3 bibs 1 Count - SELECT COUNT(eg) FROM bib_id_map + SELECT COUNT(id) FROM biblio_record_entry_stage WHERE x_migrate = TRUE @@ -655,7 +655,7 @@ id = ac_sc.owner GROUP BY 2,3 ORDER BY 2,3 bibs 0 Count - SELECT COUNT(eg) FROM bib_id_map where eg::INTEGER NOT IN (SELECT DISTINCT record FROM asset_call_number) + SELECT COUNT(id) FROM biblio_record_entry where id NOT IN (SELECT DISTINCT record FROM asset_call_number) @@ -1083,5 +1083,38 @@ id = ac_sc.owner GROUP BY 2,3 ORDER BY 2,3 + + + + notices_overview + notices + 0 + Overview of Notices for Migration + ID.Active.Owner.Name.Delay.Validator.Reactor + SELECT ed.id, ed.active, aou.shortname, LEFT(ed.name,25) || '...', ed.delay, ed.validator, ed.reactor + FROM action_trigger.event_definition ed + JOIN actor.org_unit aou ON aou.id = ed.owner + WHERE ed.owner IN (SELECT DISTINCT home_ou FROM actor_usr) + OR ed.owner IN (SELECT DISTINCT parent_ou FROM actor.org_unit WHERE id in (SELECT DISTINCT home_ou FROM actor_usr)); + + + + + notices_count + notices + 0 + Count of Notices Run with State + Count of Notices.State.ID.Owner.Name + SELECT COUNT(ate.id), ate.state, ed.id, aou.shortname, LEFT(ed.name,25) || '...' + FROM action_trigger.event_definition ed + JOIN actor.org_unit aou ON aou.id = ed.owner + JOIN action_trigger.event ate ON ate.event_def = ed.id + WHERE ed.owner IN (SELECT DISTINCT home_ou FROM actor_usr) + OR ed.owner IN (SELECT DISTINCT parent_ou FROM actor.org_unit WHERE id in (SELECT DISTINCT home_ou FROM actor_usr)) + GROUP BY 2,3,4; + + + +