From 3213e8ae477aced3fd81b79110267c537eaf82ad Mon Sep 17 00:00:00 2001 From: tim738745 <98717409+tim738745@users.noreply.github.com> Date: Tue, 4 Jun 2024 16:09:50 -0700 Subject: [PATCH] fix: 2178 - supp report ldv sales value + error upon issuance (#2179) --- backend/api/services/model_year_report_ldv_sales.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/api/services/model_year_report_ldv_sales.py b/backend/api/services/model_year_report_ldv_sales.py index 3faf10a56..fa63fdf52 100644 --- a/backend/api/services/model_year_report_ldv_sales.py +++ b/backend/api/services/model_year_report_ldv_sales.py @@ -6,7 +6,7 @@ def get_most_recent_ldv_sales(model_year_report): ModelYearReportLDVSales.objects.filter( model_year=model_year_report.model_year, model_year_report=model_year_report ) - .order_by("-create_timestamp") + .order_by("-update_timestamp") .only("ldv_sales") .first() )