Commit 901ebe9f authored by Okhin's avatar Okhin
Browse files

Fixing the related qttributes of category prefetch

parent 813f4d25
Pipeline #1303 passed with stages
in 6 minutes and 59 seconds
......@@ -16,10 +16,10 @@ class FeedbackFilterByCategory(admin.SimpleListFilter):
user_orgs = [ for x in request.user.organizations.all()]
feedbacks = Feedback.objects.filter(
feedbacks = Feedback.objects.select_related('category').filter(
return ((f[0], f[1],) for f in sorted(set(feedbacks), key=lambda f: f[1]))
Supports Markdown
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