ui(cupang): 제품명 목록/드롭다운 정렬을 제품코드 오름차순으로
폼 제품명 드롭다운 + 설정 등록목록 모두 list_products 사용 → ORDER BY product_code ASC Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user