Revert r20035 - restore default copy status for Fast Add to "Available"
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 20 Apr 2011 20:32:12 +0000 (20:32 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 20 Apr 2011 20:32:12 +0000 (20:32 +0000)
As noted in https://bugs.launchpad.net/evergreen/+bug/756838, the default
status for "Fast Add" copies has been "Available" since release 1.6.1.0.
Changing the default in the middle of the 2.0 release series would likely
cause more confusion for those sites who appreciate the current Fast Add
behaviour, so this reverts the changes in r20035 and maintains the same
defaults as 1.6.1.0.

Note that in r20264, 2.1.0 will gain two new org unit settings that will
enable sites to control their preferred default copy status for the Fast Add
and Add Volume interfaces.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20265 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/cat/opac.js
Open-ILS/xul/staff_client/server/cat/util.js

index 2dbb5a9..c4f4cdc 100644 (file)
@@ -195,7 +195,7 @@ function set_marc_edit() {
                             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.status(0); // Available
                             copy_obj.circulate(get_db_true());
                             copy_obj.holdable(get_db_true());
                             copy_obj.opac_visible(get_db_true());
index e9d44c8..2c8a5cc 100644 (file)
@@ -545,7 +545,7 @@ cat.util.fast_item_add = function(doc_id,cn_label,cp_barcode) {
         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.status(0); // Available
         copy_obj.circulate(get_db_true());
         copy_obj.holdable(get_db_true());
         copy_obj.opac_visible(get_db_true());