From 1e01c01afc8281e5b3f2abacd590c546e169a753 Mon Sep 17 00:00:00 2001
From: kevalbhatt <kbhatt@apache.org>
Date: Mon, 30 Oct 2017 15:54:15 +0530
Subject: [PATCH] ATLAS-2236 : UI - Basic Search Post request send attribute filters even after removing Type

---
 dashboardv2/public/js/views/search/SearchLayoutView.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dashboardv2/public/js/views/search/SearchLayoutView.js b/dashboardv2/public/js/views/search/SearchLayoutView.js
index df50800..5ece1c2 100644
--- a/dashboardv2/public/js/views/search/SearchLayoutView.js
+++ b/dashboardv2/public/js/views/search/SearchLayoutView.js
@@ -488,7 +488,9 @@ define(['require',
             triggerSearch: function(value) {
                 var params = {
                     searchType: this.type,
-                    dslChecked: this.ui.searchType.is(':checked')
+                    dslChecked: this.ui.searchType.is(':checked'),
+                    tagFilters: null,
+                    entityFilters: null
                 }
                 params['type'] = this.ui.typeLov.select2('val') || null;
                 if (!this.dsl) {
--
libgit2 0.27.1