Skip to content

Commit 10e4f33

Browse files
committed
Fix action filter query
1 parent 244d0a1 commit 10e4f33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

coderd/database/queries.sql.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/database/queries/auditlogs.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ WHERE
2323
-- Filter action
2424
AND CASE
2525
WHEN @action :: text != '' THEN
26-
resource_type = LOWER(@action)
26+
action = LOWER(@action)
2727
ELSE true
2828
END
2929
ORDER BY

0 commit comments

Comments
 (0)