mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-09 08:05:13 +02:00
Assign KBItems to teams
This allows you to only show on the dashboard those tickets which belong to a given user's team.
This commit is contained in:
@ -130,7 +130,7 @@ class Homepage(CreateTicketView):
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super().get_context_data(**kwargs)
|
||||
context['kb_categories'] = huser_from_request(self.request).get_kb_categories()
|
||||
context['kb_categories'] = huser_from_request(self.request).get_allowed_kb_categories()
|
||||
return context
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user