Fix internal page url

This commit is contained in:
cuom1999 2022-07-28 04:22:01 +07:00
parent 3ed4fc7a0e
commit 724aadbe20

View file

@ -39,6 +39,9 @@ class InternalProblem(ListView):
context = super(InternalProblem, self).get_context_data(**kwargs) context = super(InternalProblem, self).get_context_data(**kwargs)
context["page_type"] = "problem" context["page_type"] = "problem"
context["title"] = self.title context["title"] = self.title
context["page_prefix"] = self.request.path + "?page="
context["first_page_href"] = self.request.path
return context return context
def get(self, request, *args, **kwargs): def get(self, request, *args, **kwargs):