summaryrefslogtreecommitdiffstats
path: root/webapp/utils/async_client.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/utils/async_client.jsx')
-rw-r--r--webapp/utils/async_client.jsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/webapp/utils/async_client.jsx b/webapp/utils/async_client.jsx
index 1dcead326..a562964b1 100644
--- a/webapp/utils/async_client.jsx
+++ b/webapp/utils/async_client.jsx
@@ -467,7 +467,7 @@ export function getAllTeamListings() {
);
}
-export function search(terms) {
+export function search(terms, isOrSearch) {
if (isCallInProgress('search_' + String(terms))) {
return;
}
@@ -475,6 +475,7 @@ export function search(terms) {
callTracker['search_' + String(terms)] = utils.getTimestamp();
Client.search(
terms,
+ isOrSearch,
(data) => {
callTracker['search_' + String(terms)] = 0;
@@ -1370,4 +1371,4 @@ export function getPublicLink(filename, success, error) {
}
}
);
-} \ No newline at end of file
+}