[open-ils-commits] r17550 - trunk/Open-ILS/xul/staff_client/server/cat (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Sep 9 16:35:53 EDT 2010
Author: phasefx
Date: 2010-09-09 16:35:47 -0400 (Thu, 09 Sep 2010)
New Revision: 17550
Modified:
trunk/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js
Log:
Change the field order in asset.call_number_class if you want to sort these
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 2010-09-09 20:35:44 UTC (rev 17549)
+++ trunk/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js 2010-09-09 20:35:47 UTC (rev 17550)
@@ -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