From c71751cacff578f82949fb73de44c945f0e12a61 Mon Sep 17 00:00:00 2001 From: phasefx Date: Sun, 10 Apr 2011 20:52:49 +0000 Subject: [PATCH] for lp bug#756838, consistent copy status for new items. jamesrf++ git-svn-id: svn://svn.open-ils.org/ILS/trunk@20033 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 ++++---- .../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 7c64f928d8..678efd5ead 100644 --- a/Open-ILS/xul/staff_client/chrome/content/cat/opac.js +++ b/Open-ILS/xul/staff_client/chrome/content/cat/opac.js @@ -201,10 +201,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 818917ce6d..b90453f30f 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 9bc22bd3fa..4d70a03a4f 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 @@ -917,10 +917,10 @@ g.gather_copies = function() { 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.43.2