[open-ils-commits] r20033 - in trunk/Open-ILS/xul/staff_client: chrome/content/cat server/cat (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Sun Apr 10 16:52:55 EDT 2011


Author: phasefx
Date: 2011-04-10 16:52:49 -0400 (Sun, 10 Apr 2011)
New Revision: 20033

Modified:
   trunk/Open-ILS/xul/staff_client/chrome/content/cat/opac.js
   trunk/Open-ILS/xul/staff_client/server/cat/util.js
   trunk/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js
Log:
for lp bug#756838, consistent copy status for new items.  jamesrf++

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/cat/opac.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/cat/opac.js	2011-04-08 19:29:16 UTC (rev 20032)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/cat/opac.js	2011-04-10 20:52:49 UTC (rev 20033)
@@ -201,10 +201,10 @@
                             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());

Modified: trunk/Open-ILS/xul/staff_client/server/cat/util.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/util.js	2011-04-08 19:29:16 UTC (rev 20032)
+++ trunk/Open-ILS/xul/staff_client/server/cat/util.js	2011-04-10 20:52:49 UTC (rev 20033)
@@ -542,10 +542,10 @@
         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());

Modified: trunk/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js	2011-04-08 19:29:16 UTC (rev 20032)
+++ trunk/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js	2011-04-10 20:52:49 UTC (rev 20033)
@@ -917,10 +917,10 @@
             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());



More information about the open-ils-commits mailing list