From 6b53c42f1491004e2aad0b0285ae9f4016dfc3fd Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 17 Oct 2023 13:54:38 +0100 Subject: [PATCH] Correctly format meta URLs --- website/common/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/common/models.py b/website/common/models.py index be438ea..427b397 100644 --- a/website/common/models.py +++ b/website/common/models.py @@ -274,7 +274,7 @@ class BaseListingPage(RoutablePageMixin, BaseContentPage): query_data = self.serializer.validated_data.copy() if query_data["page"] == 1: del query_data["page"] - return super().get_meta_url() + urlencode(query_data) + return super().get_meta_url() + "?" + urlencode(query_data) @route(r"^feed/$") @method_decorator(cache_page(60 * 30))