fix(housekeeping): restore audit search interpolation
This commit is contained in:
@@ -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