Skip to content

Commit

Permalink
updated changeQueryName for planfacilityserach as residingBoundaries … (
Browse files Browse the repository at this point in the history
#1989)

* updated changeQueryName for planfacilityserach as residingBoundaries is changed to multiselect dropdown

* fixed length change issue
  • Loading branch information
Swathi-eGov authored Dec 9, 2024
1 parent 405c9ec commit d9a3080
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const useFcilityCatchmentMapping = (props) => {
enabled: !!planEmployee,
select: (data) => data,
},
changeQueryName: `${facilityName}${facilityType?.name}${residingBoundaries?.[0]?.code}${status?.name}${props?.state?.tableForm?.limit}${props?.state?.tableForm?.offset}`,
changeQueryName: `${facilityName}${facilityType?.name}${residingBoundariesCodes?.map((code) => code).join(', ')}${status?.name}${props?.state?.tableForm?.limit}${props?.state?.tableForm?.offset}`,
};
const { isLoading, data, isFetching, refetch, revalidate } = Digit.Hooks.useCustomAPIHook(reqCriteria);
return {
Expand Down

0 comments on commit d9a3080

Please sign in to comment.