adding vr_format to rec_descriptor
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 21 Aug 2006 00:11:47 +0000 (00:11 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 21 Aug 2006 00:11:47 +0000 (00:11 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5622 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/examples/fm_IDL.xml
Open-ILS/src/javascript/backend/catalog/biblio_descriptor.js
Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/metabib.pm
Open-ILS/src/sql/Pg/030.schema.metabib.sql

index 86c177a..81a6402 100644 (file)
                        <field name="pub_status" oils_obj:array_position="14" oils_persist:virtual="false" oils_persist:primitive="string" />
                        <field name="record" oils_obj:array_position="15" oils_persist:virtual="false" />
                        <field name="type_mat" oils_obj:array_position="16" oils_persist:virtual="false" oils_persist:primitive="string" />
+                       <field name="vr_format" oils_obj:array_position="17" oils_persist:virtual="false" oils_persist:primitive="string" />
                </fields>
                <links>
                        <link field="record" reltype="has_a" key="id" map="" class="bre"/>
index 4f1dbd6..fb2b9aa 100644 (file)
@@ -22,3 +22,5 @@ environment.result.cat_form( extractFixedField( marcdoc, 'Desc' ) );
 environment.result.pub_status( extractFixedField( marcdoc, 'DtSt' ) );
 environment.result.item_lang( extractFixedField( marcdoc, 'Lang' ) );
 
+environment.result.vr_format( videorecordingFormatCode( marcdoc ) );
+
index 6c20a27..29577a4 100644 (file)
@@ -79,7 +79,7 @@ use base qw/metabib/;
 metabib::record_descriptor->table( 'metabib_rec_descriptor' );
 metabib::record_descriptor->columns( Primary => qw/id/ );
 metabib::record_descriptor->columns( Essential => qw/record item_type item_form bib_level
-                                        control_type char_encoding enc_level lit_form
+                                        control_type char_encoding enc_level lit_form vr_format
                                         cat_form pub_status item_lang audience type_mat/ );
 
 #-------------------------------------------------------------------------------
index c61bcfe..63cd871 100644 (file)
@@ -96,7 +96,8 @@ CREATE TABLE metabib.rec_descriptor (
        type_mat        TEXT,
        cat_form        TEXT,
        pub_status      TEXT,
-       item_lang       TEXT
+       item_lang       TEXT,
+       vr_format       TEXT
 );
 CREATE INDEX metabib_rec_descriptor_record_idx ON metabib.rec_descriptor (record);
 /* We may not need these...