summaryrefslogtreecommitdiff
path: root/src/mailman/model/requests.py
diff options
context:
space:
mode:
authorAurélien Bompard2016-04-25 19:57:39 +0200
committerBarry Warsaw2016-04-28 20:44:17 -0400
commita5a64b82570b2a925efe6588f876dc858e001716 (patch)
tree52700eee3ff555ab62df15955daae1f200d00ad8 /src/mailman/model/requests.py
parentd76a0b6a495d6dc21f4c41d8c1a718e6991cae40 (diff)
downloadmailman-a5a64b82570b2a925efe6588f876dc858e001716.tar.gz
mailman-a5a64b82570b2a925efe6588f876dc858e001716.tar.zst
mailman-a5a64b82570b2a925efe6588f876dc858e001716.zip
Diffstat (limited to 'src/mailman/model/requests.py')
-rw-r--r--src/mailman/model/requests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mailman/model/requests.py b/src/mailman/model/requests.py
index f7f42f37e..df5f1062e 100644
--- 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):