From 86d0012a17b5e41f21e89ebd749c426528527821 Mon Sep 17 00:00:00 2001 From: hreyes Date: Tue, 2 Jun 2026 07:15:30 -0600 Subject: [PATCH] fix/filtros-busqueda-secciones-aduanales --- .../modules/public/reference_data/customs_sections/routes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/api/v1/modules/public/reference_data/customs_sections/routes.py b/backend/api/v1/modules/public/reference_data/customs_sections/routes.py index e6710d8f..a78f3a6c 100644 --- a/backend/api/v1/modules/public/reference_data/customs_sections/routes.py +++ b/backend/api/v1/modules/public/reference_data/customs_sections/routes.py @@ -32,8 +32,8 @@ def list_customs_sections( search_filter = f"%{search}%" query = query.filter( or_( - CustomsSection.code.ilike(search_filter), - CustomsSection.description.ilike(search_filter) + CustomsSection.customs_code.ilike(search_filter), + CustomsSection.section_name.ilike(search_filter) ) ) items = query.offset(skip).limit(page_size).all()