From 8d9aad7ef8cd514fab1f4935a70a1c3f085321f0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Sat, 25 Apr 2009 14:36:19 +0000 Subject: [PATCH] * allow groupdetection in user sorters * we have stringnames for sorting algorithms... trapped myself with not updating documentation. --- webcit/static/t/aide_usermanagement.html | 2 +- webcit/useredit.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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"), -- 2.30.2