Added limit to search

pull/414/head
HeNine 3 years ago
parent 4682742c20
commit 7854d44437

@ -4,6 +4,8 @@ function onSiteLoad(e) {
function (event) {
if (event.key === 'Enter') doSearch()
});
doSearch();
}
function query(text, start_time, end_time) {
@ -19,6 +21,8 @@ function query(text, start_time, end_time) {
query_string += `&query=${text}`
}
query_string += "&limit=30";
fetch(`http://localhost:8010/buscribe/json?${query_string}`)
.then(response => response.json())
// .then(response => console.log(response.error()))

Loading…
Cancel
Save