Always show problem types for volunteer
This commit is contained in:
parent
1ef68e0fdb
commit
d1e5aaa3e1
2 changed files with 10 additions and 5 deletions
|
@ -885,6 +885,9 @@ class ProblemFeed(ProblemList):
|
|||
context["feed_type"] = self.feed_type
|
||||
context["has_show_editorial_option"] = False
|
||||
context["has_have_editorial_option"] = False
|
||||
|
||||
if self.feed_type == "volunteer":
|
||||
context["problem_types"] = ProblemType.objects.all()
|
||||
return context
|
||||
|
||||
def get(self, request, *args, **kwargs):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue