Revert "feat: add global issue search"

This commit is contained in:
Naiyuan Qing 2026-04-01 22:24:35 +08:00 committed by GitHub
parent 59ebf30cf0
commit b28bac6bb7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 11 additions and 180 deletions

View file

@ -4,7 +4,6 @@ WHERE workspace_id = $1
AND (sqlc.narg('status')::text IS NULL OR status = sqlc.narg('status'))
AND (sqlc.narg('priority')::text IS NULL OR priority = sqlc.narg('priority'))
AND (sqlc.narg('assignee_id')::uuid IS NULL OR assignee_id = sqlc.narg('assignee_id'))
AND (sqlc.narg('search')::text IS NULL OR title ILIKE '%' || sqlc.narg('search') || '%')
ORDER BY position ASC, created_at DESC
LIMIT $2 OFFSET $3;