On Feb 2, 5:44 am, "mb" <[EMAIL PROTECTED]> wrote: > Hi, > > as I already posted, the upgrade worked fine, but now we have > different problem. > We use the 'restrict_owner = true' option for tickets, so we always > get a drop down > box with all possible owners. This box was sorted, but since the > upgrade it is not > anymore. Could this be because of the changes in r4625? > > Anyway would the following patch solve this problem: > > Index: perm.py > =================================================================== > --- perm.py (Revision 4635) > +++ perm.py (Arbeitskopie) > @@ -160,7 +160,7 @@ > elif nummembers: > groups.append(username) > > - return list(result) > + return list(result).sort() > > def get_all_permissions(self): > """Return all permissions for all users.
Have you tested this? The sort() method acts in-place, so it does not return a sorted version of the list, so that would always return `None`. -- Matt Good --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en -~----------~----~----~----~------~----~------~--~---
