Skip to content

Commit

Permalink
feat(council-member): expand search
Browse files Browse the repository at this point in the history
search for canton name or canton abbreviation
 among council members
  • Loading branch information
michaelschoenbaechler committed Oct 7, 2023
1 parent 06ef938 commit 4d3a8af
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app/council-member/services/council-member.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ export class CouncilMemberService {
LastName?: string;
FirstName?: string;
PartyAbbreviation?: string;
CantonName?: string;
CantonAbbreviation?: string;
}[];
} = {
eq: [{ Language: 'DE' }, ...councilFilterArray]
Expand All @@ -50,7 +52,9 @@ export class CouncilMemberService {
{
LastName: searchTerm,
FirstName: searchTerm,
PartyAbbreviation: searchTerm
PartyAbbreviation: searchTerm,
CantonName: searchTerm,
CantonAbbreviation: searchTerm
}
];
}
Expand Down

0 comments on commit 4d3a8af

Please # to comment.