mirror of
https://github.com/inventree/InvenTree.git
synced 2025-09-04 01:35:54 +00:00
Add detail pane to top-level part view
This commit is contained in:
@@ -56,6 +56,8 @@ class PartIndex(ListView):
|
||||
children = PartCategory.objects.filter(parent=None)
|
||||
|
||||
context['children'] = children
|
||||
context['category_count'] = PartCategory.objects.count()
|
||||
context['part_count'] = Part.objects.count()
|
||||
|
||||
return context
|
||||
|
||||
|
Reference in New Issue
Block a user