mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 00:27:11 +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
|
|
@ -97,7 +97,7 @@ export async function getTeams(
|
|||
OR: [
|
||||
{
|
||||
...((filterType === TEAM_FILTER_TYPES.all || filterType === TEAM_FILTER_TYPES.name) && {
|
||||
name: { startsWith: filter },
|
||||
name: { startsWith: filter, mode: 'insensitive' },
|
||||
}),
|
||||
},
|
||||
{
|
||||
|
|
@ -109,6 +109,7 @@ export async function getTeams(
|
|||
user: {
|
||||
username: {
|
||||
startsWith: filter,
|
||||
mode: 'insensitive',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue