From 15a11d74b2243f48cd4052f720afc871c177c559 Mon Sep 17 00:00:00 2001 From: Alberto Islas Date: Tue, 17 Dec 2024 13:27:34 -0600 Subject: [PATCH] fix(search): Fixed Home Latest Opinions sorting key --- cl/search/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cl/search/views.py b/cl/search/views.py index 772bd36f1a..597ab2644c 100644 --- a/cl/search/views.py +++ b/cl/search/views.py @@ -228,10 +228,10 @@ def show_results(request: HttpRequest) -> HttpResponse: mutable_GET["filed_before"] = date.today() # Load the render_dict with good results that can be shown in the - # "Latest Cases" section + # "Latest Opinions" section mutable_GET.update( { - "order_by": "dateArgued desc", + "order_by": "dateFiled desc", "type": SEARCH_TYPES.OPINION, } )