[open-ils-commits] r10738 - in branches/rel_1_2_3/Open-ILS:
examples src/perlmods/OpenILS/Application/Storage/CDBI src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Sep 30 13:42:45 EDT 2008
Author: miker
Date: 2008-09-30 13:42:42 -0400 (Tue, 30 Sep 2008)
New Revision: 10738
Modified:
branches/rel_1_2_3/Open-ILS/examples/fm_IDL.xml
branches/rel_1_2_3/Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/asset.pm
branches/rel_1_2_3/Open-ILS/src/sql/Pg/040.schema.asset.sql
Log:
adding hold verification support per copy_location
Modified: branches/rel_1_2_3/Open-ILS/examples/fm_IDL.xml
===================================================================
--- branches/rel_1_2_3/Open-ILS/examples/fm_IDL.xml 2008-09-30 17:42:03 UTC (rev 10737)
+++ branches/rel_1_2_3/Open-ILS/examples/fm_IDL.xml 2008-09-30 17:42:42 UTC (rev 10738)
@@ -1133,10 +1133,11 @@
<field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
<field reporter:label="Can Circulate?" name="circulate" oils_obj:array_position="3" oils_persist:virtual="false" reporter:datatype="bool"/>
<field reporter:label="Is Holdable?" name="holdable" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="bool"/>
- <field reporter:label="Location ID" name="id" oils_obj:array_position="5" oils_persist:virtual="false" reporter:selector="name" reporter:datatype="id"/>
- <field reporter:label="Name" name="name" oils_obj:array_position="6" oils_persist:virtual="false" reporter:datatype="text"/>
- <field reporter:label="Is OPAC Visible?" name="opac_visible" oils_obj:array_position="7" oils_persist:virtual="false" reporter:datatype="bool"/>
- <field reporter:label="Owing Org Unit" name="owning_lib" oils_obj:array_position="8" oils_persist:virtual="false" reporter:datatype="org_unit"/>
+ <field reporter:label="Hold Capture Requires Verification" name="hold_verify" oils_obj:array_position="5" oils_persist:virtual="false" reporter:datatype="bool"/>
+ <field reporter:label="Location ID" name="id" oils_obj:array_position="6" oils_persist:virtual="false" reporter:selector="name" reporter:datatype="id"/>
+ <field reporter:label="Name" name="name" oils_obj:array_position="7" oils_persist:virtual="false" reporter:datatype="text"/>
+ <field reporter:label="Is OPAC Visible?" name="opac_visible" oils_obj:array_position="8" oils_persist:virtual="false" reporter:datatype="bool"/>
+ <field reporter:label="Owing Org Unit" name="owning_lib" oils_obj:array_position="9" oils_persist:virtual="false" reporter:datatype="org_unit"/>
</fields>
<links>
<link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
Modified: branches/rel_1_2_3/Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/asset.pm
===================================================================
--- branches/rel_1_2_3/Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/asset.pm 2008-09-30 17:42:03 UTC (rev 10737)
+++ branches/rel_1_2_3/Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/asset.pm 2008-09-30 17:42:42 UTC (rev 10738)
@@ -10,7 +10,7 @@
__PACKAGE__->table( 'asset_copy_location' );
__PACKAGE__->columns( Primary => qw/id/ );
-__PACKAGE__->columns( Essential => qw/name owning_lib holdable opac_visible circulate/ );
+__PACKAGE__->columns( Essential => qw/name owning_lib holdable hold_verify opac_visible circulate/ );
#-------------------------------------------------------------------------------
package asset::call_number;
Modified: branches/rel_1_2_3/Open-ILS/src/sql/Pg/040.schema.asset.sql
===================================================================
--- branches/rel_1_2_3/Open-ILS/src/sql/Pg/040.schema.asset.sql 2008-09-30 17:42:03 UTC (rev 10737)
+++ branches/rel_1_2_3/Open-ILS/src/sql/Pg/040.schema.asset.sql 2008-09-30 17:42:42 UTC (rev 10738)
@@ -26,6 +26,7 @@
name TEXT NOT NULL,
owning_lib INT NOT NULL REFERENCES actor.org_unit (id) DEFERRABLE INITIALLY DEFERRED,
holdable BOOL NOT NULL DEFAULT TRUE,
+ hold_verify BOOL NOT NULL DEFAULT FALSE,
opac_visible BOOL NOT NULL DEFAULT TRUE,
circulate BOOL NOT NULL DEFAULT TRUE
);
More information about the open-ils-commits
mailing list