From d9eb99c12967da2f4b2918b6dd14bd53cfca1a3f Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Tue, 16 Aug 2022 19:53:02 +0100 Subject: [PATCH] Fix sorting in safe params --- core/views/ui/drilldown.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/views/ui/drilldown.py b/core/views/ui/drilldown.py index 516a9d3..9aec18a 100644 --- a/core/views/ui/drilldown.py +++ b/core/views/ui/drilldown.py @@ -307,7 +307,7 @@ class DrilldownContextModal(APIView): SAFE_PARAMS["index"] = "main" query_params["sorting"] = "desc" - SAFE_PARAMS["index"] = "main" + SAFE_PARAMS["sorting"] = "desc" annotate = False if query_params["src"] == "irc":