mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 08:07:12 +01:00
Remove case sensitivity on search.
This commit is contained in:
parent
5e64eac396
commit
6d43cb23dd
4 changed files with 11 additions and 3 deletions
|
|
@ -36,13 +36,13 @@ export async function getWebsites(
|
|||
{
|
||||
...((filterType === WEBSITE_FILTER_TYPES.all ||
|
||||
filterType === WEBSITE_FILTER_TYPES.name) && {
|
||||
name: { startsWith: filter },
|
||||
name: { startsWith: filter, mode: 'insensitive' },
|
||||
}),
|
||||
},
|
||||
{
|
||||
...((filterType === WEBSITE_FILTER_TYPES.all ||
|
||||
filterType === WEBSITE_FILTER_TYPES.domain) && {
|
||||
domain: { startsWith: filter },
|
||||
domain: { startsWith: filter, mode: 'insensitive' },
|
||||
}),
|
||||
},
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue