fix(housekeeping): restore audit search interpolation
This commit is contained in:
1 parent
21cd88ccfd
commit
483d5b8c67
1 file changed
+2
-2
@@ -109,8 +109,8 @@ export async function getAuditLogs(options: GetLogsOptions = {}) {
|
||||
|
||||
const where = search
|
||||
? or(
|
||||
like(AdminAuditLog.action, `%$search%`),
|
||||
like(AdminAuditLog.target, `%$search%`),
|
||||
like(AdminAuditLog.action, `%${search}%`),
|
||||
like(AdminAuditLog.target, `%${search}%`),
|
||||
)
|
||||
: undefined;
|
||||
|
||||
|
||||
Reference in new issue
Block a user