diff --git a/src/module/metadata.js b/src/module/metadata.js index c975e0e..65bfb41 100644 --- a/src/module/metadata.js +++ b/src/module/metadata.js @@ -486,7 +486,7 @@ class Metadata { for (const i in params) { const param = params[i] - result = result.orWhere('title', 'like', `%${param}%`) + result = result.andWhere('title', 'like', `%${param}%`) .orWhere('companyName', 'like', `%${param}%`) .orWhere('companyId', 'like', `%${param}%`) }