Skip to content

Commit

Permalink
Merge pull request #786 from odisha-muktasoft/UCEM-998-UI
Browse files Browse the repository at this point in the history
UCEM-998 : Updated the saerch param to do searching with tenantId
  • Loading branch information
Tulika-eGov authored Nov 12, 2024
2 parents f08f60e + 0bf9ef3 commit 61ab491
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3204,6 +3204,7 @@ export const UICustomizations = {
if(data?.state?.searchForm?.ward)
data.body.searchCriteria.moduleSearchCriteria.ward = data?.state?.searchForm?.ward?.[0]?.code;

data.body.searchCriteria.moduleSearchCriteria.tenantId = Digit.ULBService.getCurrentTenantId();
const projectType = data?.body?.searchCriteria?.moduleSearchCriteria?.projectType?.code;
delete data.body.searchCriteria.moduleSearchCriteria.projectType;
if (projectType) data.body.searchCriteria.moduleSearchCriteria.projectType = projectType;
Expand Down

0 comments on commit 61ab491

Please sign in to comment.