Barry Warsaw pushed to branch master at mailman / Mailman

Commits:
a5a64b82 by Aurélien Bompard at 2016-04-28T20:44:17-04:00
Sort the held requests.

- - - - -


1 changed file:

- src/mailman/model/requests.py


Changes:

=====================================
src/mailman/model/requests.py
=====================================
--- a/src/mailman/model/requests.py
+++ b/src/mailman/model/requests.py
@@ -84,7 +84,8 @@ class ListRequests:
     def of_type(self, store, request_type):
         return QuerySequence(
             store.query(_Request).filter_by(
-                mailing_list=self.mailing_list, request_type=request_type))
+                mailing_list=self.mailing_list, request_type=request_type
+                ).order_by(_Request.id))
 
     @dbconnection
     def hold_request(self, store, request_type, key, data=None):



View it on GitLab: 
https://gitlab.com/mailman/mailman/commit/a5a64b82570b2a925efe6588f876dc858e001716
_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to