diff --git a/src/store/modules/facility/actions.ts b/src/store/modules/facility/actions.ts index 4c419970..6d7e7613 100644 --- a/src/store/modules/facility/actions.ts +++ b/src/store/modules/facility/actions.ts @@ -85,12 +85,8 @@ const actions: ActionTree = { if (state.facilityQuery.facilityGroupId) { filters['facilityGroupId'] = state.facilityQuery.facilityGroupId - filters['facilityGroupId_op'] = 'equals' - filters['facilityGroupId_grp'] = '2' - filters['primaryFacilityGroupId'] = state.facilityQuery.facilityGroupId - filters['primaryFacilityGroupId_op'] = 'equals' - filters['primaryFacilityGroupId_grp'] = '2' - filters['grp_op_2'] = 'OR' + filters['facilityGroupId_op'] = 'equals', + filters['filterByDate'] = 'Y' } const params = { @@ -103,7 +99,6 @@ const actions: ActionTree = { "distinct": "Y", "fromDateName": "facilityGroupFromDate", "thruDateName": "facilityGroupThruDate", - "filterByDate": "Y", "fieldList": ['facilityId', 'facilityName', 'facilityTypeId', 'maximumOrderLimit', 'defaultDaysToShip', 'externalId', 'primaryFacilityGroupId', 'parentFacilityTypeId'], ...payload }