Fixed search query.
This commit is contained in:
1 parent
089137ef8d
commit
5049c8b671
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -122,7 +122,7 @@ function getSearchSQL(column: string, param: string = 'search'): string {
|
||||
const db = getDatabaseType();
|
||||
const like = db === POSTGRESQL ? 'ilike' : 'like';
|
||||
|
||||
return `and ${column} ${like} {{${param}}`;
|
||||
return `and ${column} ${like} {{${param}}}`;
|
||||
}
|
||||
|
||||
function mapFilter(column: string, operator: string, name: string, type: string = '') {
|
||||
|
||||
Reference in new issue
Block a user