mirror of
https://github.com/umami-software/umami.git
synced 2026-02-05 13:17:19 +01:00
Fixed search query.
This commit is contained in:
parent
089137ef8d
commit
5049c8b671
2 changed files with 2 additions and 2 deletions
|
|
@ -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 = '') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue