From 99084c12bd93452605d911e2650a01c883d39ebd Mon Sep 17 00:00:00 2001 From: miker Date: Tue, 30 Sep 2008 17:38:12 +0000 Subject: [PATCH] adding hold verification support per copy_location git-svn-id: svn://svn.open-ils.org/ILS/trunk@10735 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/examples/fm_IDL.xml | 9 +++++---- .../perlmods/OpenILS/Application/Storage/CDBI/asset.pm | 2 +- Open-ILS/src/sql/Pg/040.schema.asset.sql | 1 + 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index 49419ddb9d..e54f189c00 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -1951,10 +1951,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA - - - - + + + + + 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 0146072812..598c445d56 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 ); -- 2.43.2