diff --git a/qgis-app/base/views/processing_view.py b/qgis-app/base/views/processing_view.py index b01e83f5..5ebd40f8 100644 --- a/qgis-app/base/views/processing_view.py +++ b/qgis-app/base/views/processing_view.py @@ -380,12 +380,8 @@ def get_queryset(self): def get_template_names(self): context = self.get_context_data() - is_gallery = context["is_gallery"] - if is_gallery: - self.paginate_by = settings.PAGINATION_DEFAULT_PAGINATION - return "base/list_galery.html" - else: - return "base/list.html" + self.paginate_by = settings.PAGINATION_DEFAULT_PAGINATION + return "base/list_galery.html" def get_paginate_by(self, queryset): is_gallery = self.request.GET.get("is_gallery", None) diff --git a/qgis-app/templates/base/list_galery.html b/qgis-app/templates/base/list_galery.html index 9b2ffe0d..2cd1064a 100644 --- a/qgis-app/templates/base/list_galery.html +++ b/qgis-app/templates/base/list_galery.html @@ -131,7 +131,7 @@