mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +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:
|
||||
|
||||
# Insert "starred" information
|
||||
context['starred_directly'] = context['starred'] and category.is_starred_by(
|
||||
context['starred_directly'] = category.is_starred_by(
|
||||
self.request.user,
|
||||
include_parents=False,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user