From: miker Date: Tue, 30 Sep 2008 17:42:42 +0000 (+0000) Subject: adding hold verification support per copy_location X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=903e9a0748903f1a53c8017da6252db0c3de0569;p=Evergreen.git adding hold verification support per copy_location git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2_3@10738 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index 46104cdcd0..8f3ab79f7b 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -1133,10 +1133,11 @@ - - - - + + + + + diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/asset.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/asset.pm index ebe5387551..cd57a8d93b 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/asset.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/asset.pm @@ -10,7 +10,7 @@ use base qw/asset/; __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; diff --git a/Open-ILS/src/sql/Pg/040.schema.asset.sql b/Open-ILS/src/sql/Pg/040.schema.asset.sql index 9f57c24c69..de939ea506 100644 --- a/Open-ILS/src/sql/Pg/040.schema.asset.sql +++ b/Open-ILS/src/sql/Pg/040.schema.asset.sql @@ -26,6 +26,7 @@ CREATE TABLE asset.copy_location ( 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 );