Fixes for company table
This commit is contained in:
parent
339a02a6b2
commit
4a28fa7fa8
|
|
@ -56,10 +56,13 @@ class CompanyList(generics.ListCreateAPIView):
|
|||
search_fields = [
|
||||
'name',
|
||||
'description',
|
||||
'website',
|
||||
]
|
||||
|
||||
ordering_fields = [
|
||||
'name',
|
||||
'parts_supplied',
|
||||
'parts_manufactured',
|
||||
]
|
||||
|
||||
ordering = 'name'
|
||||
|
|
|
|||
Loading…
Reference in New Issue