ui(cupang): 제품명 목록/드롭다운 정렬을 제품코드 오름차순으로

폼 제품명 드롭다운 + 설정 등록목록 모두 list_products 사용 → ORDER BY product_code ASC

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-05-30 04:21:48 +09:00
parent 867bc510da
commit 45f6b3b174
+1 -1
View File
@@ -211,7 +211,7 @@ class CupangDBStore:
with self._pool.connection() as conn:
rows = conn.execute(
f"SELECT * FROM cupang_products {where} "
"ORDER BY active DESC, sort_order ASC, product_name ASC"
"ORDER BY product_code ASC"
).fetchall()
return [self._product_serialize(r) for r in rows]