diff --git a/app/api/analyzer/tickets/filter-options/route.ts b/app/api/analyzer/tickets/filter-options/route.ts index 0be4b9b..6f3c8c4 100644 --- a/app/api/analyzer/tickets/filter-options/route.ts +++ b/app/api/analyzer/tickets/filter-options/route.ts @@ -52,8 +52,9 @@ export async function GET() { ORDER BY sort_order NULLS LAST, label` ), postgresClient.query( + // priorities has no is_deleted column (no soft-delete on this small table) `SELECT value, label FROM priorities - WHERE is_active = true AND is_deleted = false + WHERE is_active = true ORDER BY value` ), postgresClient.query(