1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Further optimization to search

This commit is contained in:
Krateng
2019-03-06 23:18:11 +01:00
parent 7ccf9257d0
commit fa1080db95
2 changed files with 7 additions and 4 deletions

View File

@@ -58,7 +58,7 @@
else {
xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = searchresult
xhttp.open("GET","/db/search?query=" + txt, true);
xhttp.open("GET","/db/search?max=5&query=" + txt, true);
xhttp.send();
}
}