Abhilash Raj pushed to branch master at GNU Mailman / Mailman Core


Commits:
30c30a52 by Abhilash Raj at 2019-03-29T04:05:56Z
Return server owners ordered by id.

- - - - -
565da0ac by Abhilash Raj at 2019-03-29T04:05:56Z
Merge branch 'order_by' into 'master'

Return server owners ordered by id.

See merge request mailman/mailman!489
- - - - -


1 changed file:

- src/mailman/model/usermanager.py


Changes:

=====================================
src/mailman/model/usermanager.py
=====================================
@@ -159,4 +159,5 @@ class UserManager:
     @dbconnection
     def server_owners(self, store):
         """ See `IUserManager."""
-        yield from store.query(User).filter_by(is_server_owner=True)
+        yield from store.query(User).filter_by(
+            is_server_owner=True).order_by(User.id)



View it on GitLab: 
https://gitlab.com/mailman/mailman/compare/fb5af679ec171a5499e8cbbb698c9b17880eafef...565da0acef9e90c5d7a15a78dfca4c32bc977e79

-- 
View it on GitLab: 
https://gitlab.com/mailman/mailman/compare/fb5af679ec171a5499e8cbbb698c9b17880eafef...565da0acef9e90c5d7a15a78dfca4c32bc977e79
You're receiving this email because of your account on gitlab.com.


_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to