Skip to content
GitLab
Explore
Sign in
Commits on Source (1)
Only use the first 18 characters for the uuid search
· 027c8e6e
Marco De Donno
authored
Jun 12, 2020
027c8e6e
Hide whitespace changes
Inline
Side-by-side
views/uuid/templates/uuid/search.html
View file @
027c8e6e
...
...
@@ -22,7 +22,7 @@
update_search_result
=
function
()
{
var
searched
=
$
(
"
#search_bar
"
).
val
();
searched
=
searched
.
toLowerCase
();
searched
=
searched
.
toLowerCase
(
).
substr
(
0
,
18
);
var
tmp
=
[];
_
.
forEach
(
uuid_list
,
function
(
uuid
)
...
...