From 543ba5875ba0fb06f41581fc34986d7688356fcb Mon Sep 17 00:00:00 2001 From: 7nimor <7nimor@gmail.com> Date: Tue, 10 Feb 2026 14:30:11 +0330 Subject: [PATCH] update AllProductsTransportDashboardView --- app/views.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/views.py b/app/views.py index 1c01114..8df65a0 100644 --- a/app/views.py +++ b/app/views.py @@ -4839,7 +4839,13 @@ class AllProductsTransportDashboardView(APIView): filters={'trash':False} if province == 'undefined': province = None + jihadi_origin = request.GET.get('origin_code') + jihadi_destination = request.GET.get('destination_code') + if jihadi_origin: + filters['jihadi_origin'] = jihadi_origin + if jihadi_destination: + filters['jihadi_destination'] = jihadi_destination if product_type and product_type != 'undefined': filters['product'] = product_type