Add University of Windsor to the URI munging mix
authordbs <dbs@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Tue, 21 Apr 2009 02:15:19 +0000 (02:15 +0000)
committerdbs <dbs@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Tue, 21 Apr 2009 02:15:19 +0000 (02:15 +0000)
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
tools/migration-scripts/org_units.sql

index 41d6ce7..51dffdc 100644 (file)
@@ -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) {
index ba06ba6..ae667a0 100644 (file)
@@ -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