[open-ils-commits] r17552 - branches/rel_2_0/Open-ILS/xul/staff_client/server/cat (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Sep 9 16:38:18 EDT 2010
Author: phasefx
Date: 2010-09-09 16:38:12 -0400 (Thu, 09 Sep 2010)
New Revision: 17552
Modified:
branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js
Log:
merge r17550 from trunk for call number sorting in volume/item creator
Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js 2010-09-09 20:37:08 UTC (rev 17551)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js 2010-09-09 20:38:12 UTC (rev 17552)
@@ -47,7 +47,7 @@
// Get the default callnumber classification scheme from OU settings
dojo.require('fieldmapper.OrgUtils');
- var label_class = fieldmapper.aou.fetchOrgSettingDefault(ses('ws_ou'), 'cat.default_classification_scheme');
+ var label_class = g.data.hash.aous['cat.default_classification_scheme']; //fieldmapper.aou.fetchOrgSettingDefault(ses('ws_ou'), 'cat.default_classification_scheme');
// Assign a default value if none was returned
if (!label_class) {
@@ -574,17 +574,6 @@
return [ o[i], i ];
}
}
- ).sort(
- function(a,b) {
- a = a[1]; b = b[1];
- if (a == '082') return -1;
- if (b == '082') return 1;
- if (a == '092') return -1;
- if (b == '092') return 1;
- if (a < b) return -1;
- if (a > b) return 1;
- return 0;
- }
)
); hbox.appendChild(ml);
ml.setAttribute('editable','true');
More information about the open-ils-commits
mailing list