From 0b29ff76e98fc1b14e64744be0d13d81d11994b3 Mon Sep 17 00:00:00 2001 From: 7nimor <7nimor@gmail.com> Date: Sat, 31 Jan 2026 22:30:14 +0330 Subject: [PATCH] AllProductsTransportViewSet --- app/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views.py b/app/views.py index 87ea74d..fe75335 100644 --- a/app/views.py +++ b/app/views.py @@ -4524,7 +4524,8 @@ class AllProductsTransportViewSet(viewsets.ModelViewSet): if destination_province and destination_province != 'undefined': if destination_province == 'مرکزی': filters['destination_province'] = 'مركزي' - filters['destination_province'] = destination_province + else: + filters['destination_province'] = destination_province if date1 and date2 and date1 != 'undefined' and date2 != 'undefined': try: