From f2e90913893e4647f37a15ae95ba17f0f270f72e Mon Sep 17 00:00:00 2001 From: miker Date: Fri, 22 Apr 2011 00:40:21 +0000 Subject: [PATCH] Patch from James Fournie to sort statcats in their comboboxes git-svn-id: svn://svn.open-ils.org/ILS/trunk@20275 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/ui/default/actor/user/register.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/actor/user/register.js b/Open-ILS/web/js/ui/default/actor/user/register.js index 8c078fca37..71545939c2 100644 --- a/Open-ILS/web/js/ui/default/actor/user/register.js +++ b/Open-ILS/web/js/ui/default/actor/user/register.js @@ -601,7 +601,7 @@ function loadStatCats() { 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'; -- 2.11.0