2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 13:56:30 +00:00

Filter part table by 'is_component' status

This commit is contained in:
Oliver Walters
2020-04-11 23:02:18 +10:00
parent 0f90e8f522
commit f5a8b110b5
3 changed files with 11 additions and 0 deletions

View File

@ -156,6 +156,7 @@ class PartList(generics.ListCreateAPIView):
- is_template: Is the part a template part?
- variant_of: Filter by variant_of Part reference
- assembly: Filter by assembly field
- component: Filter by component field
"""
serializer_class = part_serializers.PartSerializer