diff --git a/backend/app.py b/backend/app.py index 6401a07..ea066c6 100644 --- a/backend/app.py +++ b/backend/app.py @@ -5707,8 +5707,12 @@ def api_product_images_list(): params = [] if status_filter: - where_clauses.append("status = ?") - params.append(status_filter) + # "failed" 필터는 failed + no_result 둘 다 포함 (통계와 일치시키기 위해) + if status_filter == 'failed': + where_clauses.append("status IN ('failed', 'no_result')") + else: + where_clauses.append("status = ?") + params.append(status_filter) if search: where_clauses.append("(product_name LIKE ? OR barcode LIKE ?)") diff --git a/backend/templates/admin_product_images.html b/backend/templates/admin_product_images.html index 7e79dc1..db7fd0e 100644 --- a/backend/templates/admin_product_images.html +++ b/backend/templates/admin_product_images.html @@ -371,7 +371,7 @@
-
-
실패
+
실패/없음
-
@@ -386,8 +386,7 @@