From 1ffc84ef40d516b19c251fcdf5c3310d31db77b8 Mon Sep 17 00:00:00 2001 From: Dan Nguyen <45675930+danndz@users.noreply.github.com> Date: Thu, 12 Dec 2019 18:55:51 +0700 Subject: [PATCH] [CLD-502] search box remove company name filter (#205) --- src/sagas/__tests__/client.ts | 7 +++---- src/sagas/client.ts | 1 - 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/sagas/__tests__/client.ts b/src/sagas/__tests__/client.ts index 7329c6095f..d4fc681cf3 100644 --- a/src/sagas/__tests__/client.ts +++ b/src/sagas/__tests__/client.ts @@ -33,10 +33,9 @@ describe('client fetch data', () => { call(fetcher, { url: `${URLS.apps}?${setQueryParams({ clientId: '1', - category: 'game', - appName: '1', - companyName: '1', - pageNumber: 5, + category: params.data.category, + appName: params.data.search, + pageNumber: params.data.page, pageSize: APPS_PER_PAGE })}`, api: REAPIT_API_BASE_URL, diff --git a/src/sagas/client.ts b/src/sagas/client.ts index 57c7ebccf5..0bd946b2c8 100644 --- a/src/sagas/client.ts +++ b/src/sagas/client.ts @@ -31,7 +31,6 @@ export const clientDataFetch = function*({ data }) { clientId, category, appName: search, - companyName: search, pageNumber: page, pageSize: APPS_PER_PAGE })}`,