mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 04:25:42 +00:00
Fix default ordering for build orders (#3626)
- Order by reference - Show "newer" references first
This commit is contained in:
@ -100,6 +100,8 @@ class BuildList(APIDownloadMixin, ListCreateAPI):
|
||||
'reference': ['reference_int', 'reference'],
|
||||
}
|
||||
|
||||
ordering = '-reference'
|
||||
|
||||
search_fields = [
|
||||
'reference',
|
||||
'title',
|
||||
|
Reference in New Issue
Block a user