Correctly format meta URLs

This commit is contained in:
Jake Howard 2023-10-17 13:54:38 +01:00
parent 19c45fba8a
commit 6b53c42f14
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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))