[open-ils-commits] r20275 - trunk/Open-ILS/web/js/ui/default/actor/user (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Apr 21 20:40:22 EDT 2011


Author: miker
Date: 2011-04-21 20:40:21 -0400 (Thu, 21 Apr 2011)
New Revision: 20275

Modified:
   trunk/Open-ILS/web/js/ui/default/actor/user/register.js
Log:
Patch from James Fournie to sort statcats in their comboboxes

Modified: trunk/Open-ILS/web/js/ui/default/actor/user/register.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/actor/user/register.js	2011-04-22 00:20:26 UTC (rev 20274)
+++ trunk/Open-ILS/web/js/ui/default/actor/user/register.js	2011-04-22 00:40:21 UTC (rev 20275)
@@ -601,7 +601,7 @@
         var span = valtd.appendChild(document.createElement('span'));
         var store = new dojo.data.ItemFileReadStore(
                 {data:fieldmapper.actsc.toStoreData(stat.entries())});
-        var comboBox = new dijit.form.ComboBox({store:store,scrollOnFocus:false}, span);
+        var comboBox = new dijit.form.ComboBox({store:store,scrollOnFocus:false,fetchProperties:{sort:[{attribute: 'value'}]}}, span);
         comboBox.labelAttr = 'value';
         comboBox.searchAttr = 'value';
 



More information about the open-ils-commits mailing list