feat(search): restrict client search to INDIVIDUAL only for nominee, introducer, joint holders
- nominee-form: searchByText now passes legalFormType='INDIVIDUAL' for both nominee search and guardian search — prevents entities/companies appearing - introducer-search: same INDIVIDUAL filter applied - add-related-client-dialog: INDIVIDUAL filter for joint account holders, partners, and members search Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
4ffeb6ee92
commit
1aa46397a6
+1
-1
@@ -79,7 +79,7 @@ export class AddRelatedClientDialogComponent implements OnDestroy {
|
||||
}
|
||||
this.isSearching = true;
|
||||
this.searchTimer = setTimeout(() => {
|
||||
this.clientsService.searchByText(value.trim(), 0, 10, '', '', true).subscribe({
|
||||
this.clientsService.searchByText(value.trim(), 0, 10, '', '', true, 'INDIVIDUAL').subscribe({
|
||||
next: (res: any) => {
|
||||
this.searchResults = res?.content || [];
|
||||
this.isSearching = false;
|
||||
|
||||
Reference in New Issue
Block a user