From 07126101d379b900724c7c5cfc82070b42c235d6 Mon Sep 17 00:00:00 2001
From: Joram Wilander <jwawilander@gmail.com>
Date: Mon, 9 May 2016 12:00:08 -0400
Subject: Recent mention searches now OR terms instead of AND (#2931)

---
 webapp/utils/async_client.jsx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'webapp/utils/async_client.jsx')

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
+}
-- 
cgit v1.2.3-1-g7c22

