[web] fix user management view selector stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 04 Aug 2011 15:22:26 +0200
branchstable
changeset 7740 47a20b7aed23
parent 7739 12a802ba5311
child 7741 45251e611209
[web] fix user management view selector
web/views/cwuser.py
--- a/web/views/cwuser.py	Thu Aug 04 14:30:30 2011 +0200
+++ b/web/views/cwuser.py	Thu Aug 04 15:22:26 2011 +0200
@@ -171,7 +171,7 @@
     # XXX one could wish to display for instance only user's firstname/surname
     # for non managers but filtering out NULL cause crash with an ldapuser
     # source.
-    __select__ = match_user_groups('managers')
+    __select__ = StartupView.__select__ & match_user_groups('managers')
     rql = ('Any U,USN,F,S,U,UAA,UDS, L,UAA,UDSN ORDERBY L WHERE U is CWUser, '
            'U login L, U firstname F, U surname S, '
            'U in_state US, US name USN, '