Add function makeIconBadge for tables

- Add filters for part variants table
This commit is contained in:
Oliver Walters committed 2020-10-29 13:18:45 +11:00
1 parent b3ac261746
commit 8246e9c802
11 files changed
+593 -436

No files matched your search

+2 -2
View File
@@ -461,8 +461,8 @@ class PartList(generics.ListCreateAPIView):
else:
queryset = queryset.exclude(pk__in=starred_parts)
# Cascade?
cascade = str2bool(params.get('cascade', None))
# Cascade? (Default = True)
cascade = str2bool(params.get('cascade', True))
# Does the user wish to filter by category?
cat_id = params.get('category', None)