mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Bugfix: Test result ordering was reversed!
This commit is contained in:
parent
3a5014da4b
commit
b76e6a5023
@ -1042,7 +1042,9 @@ class StockItem(MPTTModel):
|
|||||||
as all named tests are accessible.
|
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 = {}
|
result_map = {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user