Align series sort with displayed capture time

This commit is contained in:
Codex
2026-05-27 21:58:30 +08:00
parent e788f08037
commit f34e40ec0a
2 changed files with 2 additions and 2 deletions

View File

@@ -1106,7 +1106,7 @@ def scan_study(ct_number: str) -> dict[str, Any]:
def series_time_key(row: dict[str, Any]) -> tuple[str, int, str]:
return (
row.get("series_time") or row.get("first_time") or row.get("study_time") or "",
row.get("first_time") or row.get("series_time") or row.get("study_time") or "",
numeric(row.get("series_number", "")),
row.get("description", ""),
)