Edgewall Software

Ticket #5394: api.py.diff

File api.py.diff, 446 bytes (added by dharris <dharris+trac@…>, 5 years ago)

patch for ticket/api.py to sort user names

  • api.py

     
    226226            field['type'] = 'select' 
    227227            perm = PermissionSystem(self.env) 
    228228            field['options'] = perm.get_users_with_permission('TICKET_MODIFY') 
     229            field['options'].sort() 
    229230            field['optional'] = True 
    230231        else: 
    231232            field['type'] = 'text'