mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Improvements to company API
- Filter by is_manufacturer
- Better table display
(cherry picked from commit f427ee4754
)
This commit is contained in:
@ -43,9 +43,10 @@ class CompanyList(generics.ListCreateAPIView):
|
||||
]
|
||||
|
||||
filter_fields = [
|
||||
'name',
|
||||
'is_customer',
|
||||
'is_manufacturer',
|
||||
'is_supplier',
|
||||
'name',
|
||||
]
|
||||
|
||||
search_fields = [
|
||||
|
Reference in New Issue
Block a user