commit | 614e5fcebb836503c90e694a2b6a24511b2ee8e6 | [log] [tgz] |
---|---|---|
author | Anna Arhipova <harhipova@mirantis.com> | Tue Feb 27 18:17:15 2024 +0100 |
committer | Anna Arhipova <harhipova@mirantis.com> | Tue Feb 27 18:17:15 2024 +0100 |
tree | 54eddf22d7d93b86d8156f90d5847da012e317a5 | |
parent | 22ea6bf42b76f2ef38c052c29b85ee0fa01bc3fe [diff] [blame] |
PRODX-39509 Sort TestRuns by id Change-Id: Idd26553d1acacabb05f48e0136c4967341c98616
diff --git a/testrail_bot/control/models.py b/testrail_bot/control/models.py index 6d7840b..2994890 100644 --- a/testrail_bot/control/models.py +++ b/testrail_bot/control/models.py
@@ -70,6 +70,9 @@ "plan_name": self.plan_name, } + class Meta: + ordering = ["-run_id"] + fs = FileSystemStorage()