mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-05 13:10:57 +00:00
Add a 'reference_int' field to the models, to be used as a secondary index
This commit is contained in:
@ -85,7 +85,7 @@ class BuildList(generics.ListCreateAPIView):
|
||||
]
|
||||
|
||||
ordering_field_aliases = {
|
||||
'reference': ['integer_ref', 'reference'],
|
||||
'reference': ['reference_int', 'reference'],
|
||||
}
|
||||
|
||||
search_fields = [
|
||||
|
Reference in New Issue
Block a user