web/views/cwuser.py
changeset 5239 471554b842d2
parent 5237 10dd0dd78778
child 5423 e15abfdcce38
equal deleted inserted replaced
5238:31c12863fd9d 5239:471554b842d2
    88 
    88 
    89 class CWGroupMainTab(tabs.PrimaryTab):
    89 class CWGroupMainTab(tabs.PrimaryTab):
    90     __regid__ = 'cwgroup-main'
    90     __regid__ = 'cwgroup-main'
    91     __select__ = tabs.PrimaryTab.__select__ & implements('CWGroup')
    91     __select__ = tabs.PrimaryTab.__select__ & implements('CWGroup')
    92 
    92 
    93     def render_entity_attributes(self, entity, siderelations=None):
    93     def render_entity_attributes(self, entity):
    94         rql = 'Any U, FN, LN, CD, LL ORDERBY L WHERE U in_group G, ' \
    94         rql = 'Any U, FN, LN, CD, LL ORDERBY L WHERE U in_group G, ' \
    95               'U login L, U firstname FN, U surname LN, U creation_date CD, ' \
    95               'U login L, U firstname FN, U surname LN, U creation_date CD, ' \
    96               'U last_login_time LL, G eid %(x)s'
    96               'U last_login_time LL, G eid %(x)s'
    97         rset = self._cw.execute(rql, {'x': entity.eid})
    97         rset = self._cw.execute(rql, {'x': entity.eid})
    98         headers = (_(u'user'), _(u'first name'), _(u'last name'),
    98         headers = (_(u'user'), _(u'first name'), _(u'last name'),