Skip to content
GitLab
Explore
Sign in
Commits on Source (1)
Set the search to case insensitive in the mark search page
· f2d21b34
Marco De Donno
authored
Feb 13, 2020
f2d21b34
Hide whitespace changes
Inline
Side-by-side
views/trainer/templates/trainer/search.html
View file @
f2d21b34
...
@@ -161,7 +161,7 @@
...
@@ -161,7 +161,7 @@
_
.
forEach
(
selected
,
function
(
s
)
{
_
.
forEach
(
selected
,
function
(
s
)
{
if
(
s
!==
""
)
if
(
s
!==
""
)
tmp
.
push
(
m
[
"
note
"
].
indexOf
(
s
)
);
tmp
.
push
(
m
[
"
note
"
].
toLowerCase
().
indexOf
(
s
.
toLowerCase
()
)
);
}
);
}
);
if
(
Math
.
max
(
...
tmp
)
!=
-
1
)
if
(
Math
.
max
(
...
tmp
)
!=
-
1
)
...
...