From dc692a1594623d30abe96b9f6f7e43d65e2e580c Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Tue, 2 Jun 2026 18:01:22 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5(backend)=20remove=20unused=20order?= =?UTF-8?q?=20parameter=20in=20Paginator=20class?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In the custom Paginator present in the viewset, an ordering parameter was set. This parameter is never used by the DRF paginator and can be removed. --- src/backend/core/api/viewsets.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/backend/core/api/viewsets.py b/src/backend/core/api/viewsets.py index cbaf51c5c..a04de780e 100644 --- a/src/backend/core/api/viewsets.py +++ b/src/backend/core/api/viewsets.py @@ -173,7 +173,6 @@ class SerializerPerActionMixin: class Pagination(drf.pagination.PageNumberPagination): """Pagination to display no more than 100 objects per page sorted by creation date.""" - ordering = "-created_on" max_page_size = 200 page_size_query_param = "page_size"