autosearch function no longer expands the value of the autosearch
[mkws-moved-to-github.git] / src / mkws-team.js
index 633052f..25a24d6 100644 (file)
@@ -126,6 +126,7 @@ function team($, teamName) {
       queue("firstrecords").publish(hitcount);
     }
     if (parseInt(data.activeclients[0], 10) === 0) {
+      log("complete");
       queue("complete").publish(hitcount);
     }
   }
@@ -248,6 +249,7 @@ function team($, teamName) {
   function resetPage() {
     m_currentPage = 1;
     m_totalRecordCount = 0;
+    m_gotRecords = false;
   }
   that.resetPage = resetPage;