From: Wilfried Göesgens Date: Sat, 25 Apr 2009 14:36:19 +0000 (+0000) Subject: * allow groupdetection in user sorters X-Git-Tag: v7.86~1218 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=8d9aad7ef8cd514fab1f4935a70a1c3f085321f0 * allow groupdetection in user sorters * we have stringnames for sorting algorithms... trapped myself with not updating documentation. --- diff --git a/webcit/static/t/aide_usermanagement.html b/webcit/static/t/aide_usermanagement.html index 76ccbc4ae..e5dc4b4a2 100644 --- a/webcit/static/t/aide_usermanagement.html +++ b/webcit/static/t/aide_usermanagement.html @@ -1,4 +1,4 @@ diff --git a/webcit/useredit.c b/webcit/useredit.c index 17bd25a74..fc5448448 100644 --- a/webcit/useredit.c +++ b/webcit/useredit.c @@ -708,7 +708,8 @@ InitModule_USEREDIT RegisterConditional(HKEY("COND:USERACCESS"), 0, ConditionalUserAccess, CTX_USERLIST); RegisterConditional(HKEY("COND:USERLIST:FLAG:USE_INTERNET"), 0, ConditionalFlagINetEmail, CTX_USERLIST); - RegisterIterator("USERLIST", 0, NULL, iterate_load_userlist, NULL, DeleteHash, CTX_USERLIST, CTX_NONE, IT_NOFLAG); + RegisterIterator("USERLIST", 0, NULL, iterate_load_userlist, NULL, DeleteHash, CTX_USERLIST, CTX_NONE, IT_FLAG_DETECT_GROUPCHANGE); + RegisterSortFunc(HKEY("user:name"),