mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-07 12:22:11 +00:00
Filtering improvements
This commit is contained in:
@@ -31,8 +31,6 @@ class PartDetail(generics.RetrieveUpdateDestroyAPIView):
|
||||
|
||||
class PartParamFilter(FilterSet):
|
||||
|
||||
part = NumberFilter(name='part', lookup_expr='exact')
|
||||
|
||||
class Meta:
|
||||
model = PartParameter
|
||||
fields = ['part']
|
||||
@@ -75,7 +73,6 @@ class PartParamDetail(generics.RetrieveUpdateDestroyAPIView):
|
||||
|
||||
|
||||
class PartFilter(FilterSet):
|
||||
category = NumberFilter(name='category', lookup_expr='exact')
|
||||
|
||||
class Meta:
|
||||
model = Part
|
||||
|
Reference in New Issue
Block a user