for lp bug#756838, consistent copy status for new items. jamesrf++
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 10 Apr 2011 20:52:49 +0000 (20:52 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 10 Apr 2011 20:52:49 +0000 (20:52 +0000)
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
Open-ILS/xul/staff_client/server/cat/util.js
Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js

index 7c64f92..678efd5 100644 (file)
@@ -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());
index 818917c..b90453f 100644 (file)
@@ -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());
index 9bc22bd..4d70a03 100644 (file)
@@ -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());