From 7e73f2feccd3c4242ab531f5afa2a66fc03bfc23 Mon Sep 17 00:00:00 2001 From: Shailesh Parmar Date: Fri, 29 Oct 2021 15:00:47 +0530 Subject: [PATCH] miner fix related to searchQuery (#978) --- .../ui/src/pages/explore/ExplorePage.component.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/catalog-rest-service/src/main/resources/ui/src/pages/explore/ExplorePage.component.tsx b/catalog-rest-service/src/main/resources/ui/src/pages/explore/ExplorePage.component.tsx index 1736273fff3..a5bf1df3e71 100644 --- a/catalog-rest-service/src/main/resources/ui/src/pages/explore/ExplorePage.component.tsx +++ b/catalog-rest-service/src/main/resources/ui/src/pages/explore/ExplorePage.component.tsx @@ -190,7 +190,7 @@ const ExplorePage: FunctionComponent = () => { useEffect(() => { fetchData([ { - queryString: emptyValue, + queryString: searchText, from: INITIAL_FROM, size: PAGE_SIZE, filters: emptyValue, @@ -199,7 +199,7 @@ const ExplorePage: FunctionComponent = () => { searchIndex: getCurrentIndex(tab), }, { - queryString: emptyValue, + queryString: searchText, from: INITIAL_FROM, size: ZERO_SIZE, filters: emptyValue, @@ -208,7 +208,7 @@ const ExplorePage: FunctionComponent = () => { searchIndex: getCurrentIndex(tab), }, { - queryString: emptyValue, + queryString: searchText, from: INITIAL_FROM, size: ZERO_SIZE, filters: emptyValue, @@ -217,7 +217,7 @@ const ExplorePage: FunctionComponent = () => { searchIndex: getCurrentIndex(tab), }, { - queryString: emptyValue, + queryString: searchText, from: INITIAL_FROM, size: ZERO_SIZE, filters: emptyValue,