Search fields are merged based on CaseFieldID, meaning it's not possible to use the same search field for multiple roles (see example CCD config in confluence). In this PR, we start merging search fields based on CaseFieldID and UserRole, meaning the same search field can be defined multiple times provided the role is unique.
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Change description
https://tools.hmcts.net/jira/browse/NFDIV-2726
Search fields are merged based on CaseFieldID, meaning it's not possible to use the same search field for multiple roles (see example CCD config in confluence). In this PR, we start merging search fields based on CaseFieldID and UserRole, meaning the same search field can be defined multiple times provided the role is unique.