From 718f681bb3864cfaa3993912d62caf436796e819 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=B8=85?= Date: Wed, 2 Sep 2026 10:07:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E5=90=8E=E5=8F=B0=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E9=A1=BA=E5=BA=8F=E5=B1=95=E7=A4=BA=E5=87=AD=E8=AF=81=E5=9B=BE?= =?UTF-8?q?=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ocr_dashboard_service.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ocr_dashboard_service.py b/ocr_dashboard_service.py index 33f56a8..991f9e0 100644 --- a/ocr_dashboard_service.py +++ b/ocr_dashboard_service.py @@ -192,12 +192,6 @@ def list_evidences(params: dict[str, Any]) -> dict[str, Any]: } items.sort(key=lambda item: ( evidence_type_order.get(str(item.get("evidence_type") or ""), 99), - 1 if ( - item.get("image_id") is not None - or "/manual-evidences/" in str(item.get("cos_object_key") or "") - or item.get("upload_source") == "holy-backend" - ) else 0, - str(item.get("created_at") or ""), int(item.get("sort_order") or 0), int(item.get("image_id") or item.get("evidence_id") or item.get("id") or 0), ))