diff --git a/demo/search.html b/demo/search.html
index d360f486..5eea303f 100644
--- a/demo/search.html
+++ b/demo/search.html
@@ -130,12 +130,12 @@
alert('Library is not initiated. Init first...');
return;
}
- //while (a < 100000){
- // a++;
let out;
table.innerHTML = '';
table.classList.remove('hidden');
- search.query(queryEl.value, senderIdEl.value, threadIdEl.value, null, startEl.value, endEl.value, limitEl.value, offsetEl.value, 0).then(function (result) {
+ let startDate = new Date(startEl.value);
+ let endDate = new Date(endEl.value);
+ search.query(queryEl.value, senderIdEl.value, threadIdEl.value, null, startDate, endDate, limitEl.value, offsetEl.value, 0).then(function (result) {
out = result;
var th = document.createElement('tr');
var th1 = document.createElement('td');
@@ -164,7 +164,6 @@
}).catch(function (err) {
resultsEl.innerHTML = err;
});
- //}
});
sendMessage.addEventListener('click', function () {
diff --git a/indexvalidator.exe b/indexvalidator.exe
index 523dd140..f0f1bf31 100755
Binary files a/indexvalidator.exe and b/indexvalidator.exe differ
diff --git a/indexvalidator.exec b/indexvalidator.exec
index c7f45e2a..4895e2aa 100755
Binary files a/indexvalidator.exec and b/indexvalidator.exec differ