From 43c93ced808b3eeb3e5ff90b216577777c4b3e3a Mon Sep 17 00:00:00 2001 From: phasefx Date: Sun, 10 Apr 2011 20:53:56 +0000 Subject: [PATCH] for lp bug#756838, consistent copy status for new items. jamesrf++ git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20035 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/cat/opac.js | 8 ++++---- Open-ILS/xul/staff_client/server/cat/util.js | 8 ++++---- Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Open-ILS/xul/staff_client/chrome/content/cat/opac.js b/Open-ILS/xul/staff_client/chrome/content/cat/opac.js index a1b7b29f57..2dbb5a96b7 100644 --- a/Open-ILS/xul/staff_client/chrome/content/cat/opac.js +++ b/Open-ILS/xul/staff_client/chrome/content/cat/opac.js @@ -192,10 +192,10 @@ function set_marc_edit() { copy_obj.deposit(0); copy_obj.price(0); copy_obj.deposit_amount(0); - copy_obj.fine_level(2); - copy_obj.loan_duration(2); - copy_obj.location(1); - copy_obj.status(0); + copy_obj.fine_level(2); // Normal + copy_obj.loan_duration(2); // Normal + copy_obj.location(1); // Stacks + copy_obj.status(5); // In Process copy_obj.circulate(get_db_true()); copy_obj.holdable(get_db_true()); copy_obj.opac_visible(get_db_true()); diff --git a/Open-ILS/xul/staff_client/server/cat/util.js b/Open-ILS/xul/staff_client/server/cat/util.js index 5db10b1f00..e9d44c8a59 100644 --- a/Open-ILS/xul/staff_client/server/cat/util.js +++ b/Open-ILS/xul/staff_client/server/cat/util.js @@ -542,10 +542,10 @@ cat.util.fast_item_add = function(doc_id,cn_label,cp_barcode) { copy_obj.deposit(0); copy_obj.price(0); copy_obj.deposit_amount(0); - copy_obj.fine_level(2); - copy_obj.loan_duration(2); - copy_obj.location(1); - copy_obj.status(0); + copy_obj.fine_level(2); // Normal + copy_obj.loan_duration(2); // Normal + copy_obj.location(1); // Stacks + copy_obj.status(5); // In Process copy_obj.circulate(get_db_true()); copy_obj.holdable(get_db_true()); copy_obj.opac_visible(get_db_true()); diff --git a/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js b/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js index e82366adbf..ac28aff25f 100644 --- a/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js +++ b/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js @@ -443,10 +443,10 @@ g.stash_and_close = function(param) { copy.deposit(0); copy.price(0); copy.deposit_amount(0); - copy.fine_level(2); - copy.loan_duration(2); - copy.location(1); - copy.status(5); + copy.fine_level(2); // Normal + copy.loan_duration(2); // Normal + copy.location(1); // Stacks + copy.status(5); // In Process copy.circulate(get_db_true()); copy.holdable(get_db_true()); copy.opac_visible(get_db_true()); -- 2.11.0