mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 02:55:41 +00:00
Merge pull request #998 from SchrodingersGat/test-report-ordering
Bugfix: Test result ordering was reversed!
This commit is contained in:
@ -1042,7 +1042,9 @@ class StockItem(MPTTModel):
|
||||
as all named tests are accessible.
|
||||
"""
|
||||
|
||||
results = self.getTestResults(**kwargs).order_by('-date')
|
||||
# Filter results by "date", so that newer results
|
||||
# will override older ones.
|
||||
results = self.getTestResults(**kwargs).order_by('date')
|
||||
|
||||
result_map = {}
|
||||
|
||||
|
Reference in New Issue
Block a user