mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
Bug fix for part category view (#3119)
This commit is contained in:
parent
e8bf35585a
commit
5fef6563d8
@ -981,7 +981,7 @@ class CategoryDetail(InvenTreeRoleMixin, InvenTreePluginViewMixin, DetailView):
|
|||||||
if category:
|
if category:
|
||||||
|
|
||||||
# Insert "starred" information
|
# Insert "starred" information
|
||||||
context['starred_directly'] = context['starred'] and category.is_starred_by(
|
context['starred_directly'] = category.is_starred_by(
|
||||||
self.request.user,
|
self.request.user,
|
||||||
include_parents=False,
|
include_parents=False,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user