[open-ils-commits] r20034 - in branches/rel_2_1/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:53:41 EDT 2011
Author: phasefx
Date: 2011-04-10 16:53:35 -0400 (Sun, 10 Apr 2011)
New Revision: 20034
Modified:
branches/rel_2_1/Open-ILS/xul/staff_client/chrome/content/cat/opac.js
branches/rel_2_1/Open-ILS/xul/staff_client/server/cat/util.js
branches/rel_2_1/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js
Log:
for lp bug#756838, consistent copy status for new items. jamesrf++
Modified: branches/rel_2_1/Open-ILS/xul/staff_client/chrome/content/cat/opac.js
===================================================================
--- branches/rel_2_1/Open-ILS/xul/staff_client/chrome/content/cat/opac.js 2011-04-10 20:52:49 UTC (rev 20033)
+++ branches/rel_2_1/Open-ILS/xul/staff_client/chrome/content/cat/opac.js 2011-04-10 20:53:35 UTC (rev 20034)
@@ -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: branches/rel_2_1/Open-ILS/xul/staff_client/server/cat/util.js
===================================================================
--- branches/rel_2_1/Open-ILS/xul/staff_client/server/cat/util.js 2011-04-10 20:52:49 UTC (rev 20033)
+++ branches/rel_2_1/Open-ILS/xul/staff_client/server/cat/util.js 2011-04-10 20:53:35 UTC (rev 20034)
@@ -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: branches/rel_2_1/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js
===================================================================
--- branches/rel_2_1/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js 2011-04-10 20:52:49 UTC (rev 20033)
+++ branches/rel_2_1/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js 2011-04-10 20:53:35 UTC (rev 20034)
@@ -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