Revert "feat: add global issue search"
This commit is contained in:
parent
59ebf30cf0
commit
b28bac6bb7
9 changed files with 11 additions and 180 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue