From e5858b94b368a3114911b4d808719caf80868712 Mon Sep 17 00:00:00 2001 From: dbs Date: Tue, 21 Apr 2009 02:15:19 +0000 Subject: [PATCH] Add University of Windsor to the URI munging mix Apply proper LAC codes for Leddy and Law library git-svn-id: svn://svn.open-ils.org/ILS-Contrib/conifer/trunk@368 6d9bc8c9-1ec2-4278-b937-99fde70a366f --- tools/migration-scripts/fixURIs.pl | 2 ++ tools/migration-scripts/org_units.sql | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/migration-scripts/fixURIs.pl b/tools/migration-scripts/fixURIs.pl index 41d6ce7ecd..51dffdc4e6 100644 --- a/tools/migration-scripts/fixURIs.pl +++ b/tools/migration-scripts/fixURIs.pl @@ -57,6 +57,8 @@ while ( try { $marc = $input->next() } otherwise { $marc = -1 } ) { $orgunit = 'OSTMA'; } elsif ($url =~ m/normedproxy.lakeheadu.ca/o) { $orgunit = 'OSM'; + } elsif ($url =~ m/ezproxy.uwindsor.ca/o) { + $orgunit = 'OWA'; } if ($orgunit) { diff --git a/tools/migration-scripts/org_units.sql b/tools/migration-scripts/org_units.sql index ba06ba6c0c..ae667a0fdc 100644 --- a/tools/migration-scripts/org_units.sql +++ b/tools/migration-scripts/org_units.sql @@ -33,14 +33,14 @@ COPY org_unit (id, parent_ou, ou_type, ill_address, holds_address, mailing_addre 1 \N 1 1 1 1 1 CONIFER Conifer t 102 1 2 1 1 1 1 LAURSYS Laurentian System t 106 1 2 \N \N \N \N WINDSYS Windsor System t -109 106 3 \N \N \N \N LEDDY Leddy Library t +109 106 3 \N \N \N \N OWA Leddy Library t 112 102 3 \N \N \N \N ARTGALL Art Gallery of Sudbury t 113 102 3 \N \N \N \N CFOF Centre Franco-Ontarien de Folklore t 116 102 3 \N \N \N \N SAH Sault Area Hospital t 118 102 3 \N \N \N \N MNDM Mines Library, Willet Green Miller Centre t 119 102 3 \N \N \N \N FALCON Xstrata Process Support Centre Library, Falconbridge t 120 102 3 \N \N \N \N INCO Vale Inco t -122 106 3 \N \N \N \N WINDLAQ Paul Martin Law Library t +122 106 3 \N \N \N \N OWAL Paul Martin Law Library t 111 1 2 \N \N \N \N ALGOMASYS Algoma System \N \N t 124 111 3 \N \N \N \N OSTMA Algoma University, Wishart Library t 125 1 2 \N \N \N \N OSM NOHIN \N \N t -- 2.11.0