Commit 58cb7b90 authored by okhin's avatar okhin 🚴

Fixing organization relative spelling

parent c3984fb3
...@@ -17,7 +17,7 @@ class FeedbackFilterByCategory(admin.SimpleListFilter): ...@@ -17,7 +17,7 @@ class FeedbackFilterByCategory(admin.SimpleListFilter):
else: else:
user_orgs = [x.id for x in request.user.organizations.all()] user_orgs = [x.id for x in request.user.organizations.all()]
feedbacks = Feedback.objects.filter( feedbacks = Feedback.objects.filter(
category__organisation__in=user_orgs).values_list( category__organization__in=user_orgs).values_list(
'category_id', 'category_id',
'category_name') 'category_name')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment