From: phasefx Date: Sun, 10 Apr 2011 20:53:35 +0000 (+0000) Subject: for lp bug#756838, consistent copy status for new items. jamesrf++ X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b44aadb00712c70b7920fd789284b6aea817646d;p=evergreen%2Ftadl.git for lp bug#756838, consistent copy status for new items. jamesrf++ git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_1@20034 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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());