Fix sorting

This commit is contained in:
2026-01-24 14:12:51 -07:00
parent e8826f5cf2
commit abc4a2473f

View File

@@ -123,10 +123,10 @@ export async function handler (context: Context) {
orderBy = sql`price ASC`
break
case 2:
orderBy = sql`id ASC`
orderBy = sql`place ASC`
break
case 3:
orderBy = sql`id DESC`
orderBy = sql`place DESC`
break
default:
orderBy = sql`price DESC`