From ed1150c65e82a4d55bbf457369569dd7f6be126e Mon Sep 17 00:00:00 2001 From: miker Date: Thu, 4 Mar 2010 20:07:40 +0000 Subject: [PATCH] MORE: convert from permacrud to pcrud -- not as big as it looks -- and move some startup logic to the top (even though yslow will hate me) git-svn-id: svn://svn.open-ils.org/ILS/trunk@15700 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/conify/global/permission/grp_tree.html | 6 +++--- Open-ILS/web/conify/global/permission/perm_list.html | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Open-ILS/web/conify/global/permission/grp_tree.html b/Open-ILS/web/conify/global/permission/grp_tree.html index b4b9cd8166..fac68a559d 100644 --- a/Open-ILS/web/conify/global/permission/grp_tree.html +++ b/Open-ILS/web/conify/global/permission/grp_tree.html @@ -77,7 +77,7 @@ var dirtyStore = []; var current_group; - var _group_list = server.pcrud.retrieveAll('pgt'); + var _group_list = server.pcrud.retrieveAll('pgt', { order_by : { pgt : 'name' } }); var _group_data = pgt.toStoreData( _group_list ); var group_store = new dojo.data.ItemFileWriteStore({ data : _group_data }); @@ -109,11 +109,11 @@ }); - var _ou_type_list = server.pcrud.retrieveAll('aout'); + var _ou_type_list = server.pcrud.retrieveAll('aout', { order_by : { aout : 'depth' } }); var _ou_type_data = aout.toStoreData( _ou_type_list ); var ou_type_store = new dojo.data.ItemFileReadStore({ data : _ou_type_data }); - var _perm_list = server.pcrud.retrieveAll('ppl'); + var _perm_list = server.pcrud.retrieveAll('ppl', { order_by : { ppl : 'code' } }); var _perm_data = ppl.toStoreData( _perm_list, 'code' ); var _perm_name_data = ppl.toStoreData( _perm_list, 'code', { identifier : 'code' } ); diff --git a/Open-ILS/web/conify/global/permission/perm_list.html b/Open-ILS/web/conify/global/permission/perm_list.html index 6d72ac65e9..741455a3df 100644 --- a/Open-ILS/web/conify/global/permission/perm_list.html +++ b/Open-ILS/web/conify/global/permission/perm_list.html @@ -70,7 +70,7 @@ var dirtyStore = []; var perm_rows = []; - var _perm_list = pCRUD.retrieveAll('ppl'); + var _perm_list = pCRUD.retrieveAll('ppl', { order_by : { ppl : 'code' } }); var _perm_data = ppl.toStoreData( _perm_list, 'code' ); var perm_store = new dojo.data.ItemFileWriteStore({ data : _perm_data }); -- 2.11.0