Fix organization problem bug while in contest

This commit is contained in:
cuom1999 2023-01-07 03:18:16 -06:00
parent 619388a36a
commit ceb48b5bbe
4 changed files with 28 additions and 16 deletions

View file

@ -715,6 +715,7 @@ class ProblemList(QueryStringSortMixin, TitleMixin, SolvedProblemMixin, ListView
)
context["first_page_href"] = (self.first_page_href or ".") + suffix
context["has_show_editorial_option"] = True
context["show_contest_mode"] = self.request.in_contest_mode
return context
def get_noui_slider_points(self):