Skip to content

Fix fuzzy match participants and accounts#5865

Open
Borreg0 wants to merge 1 commit intoOpenSlides:mainfrom
Borreg0:2601-FuzzyMatch
Open

Fix fuzzy match participants and accounts#5865
Borreg0 wants to merge 1 commit intoOpenSlides:mainfrom
Borreg0:2601-FuzzyMatch

Conversation

@Borreg0
Copy link
Contributor

@Borreg0 Borreg0 commented Feb 11, 2026

Resolves #2601

Copy link
Member

@bastianjoel bastianjoel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides from the comments I think your changes are quite far away from fitting the requirements.

As far as I can see you also only do the normalization just one sided which means that when providing an input with special chars you won't be able to find such entries.

if (this.isIncludedInProperty(item, trimmedInput, this.alsoFilterByProperties)) {
if (
this.isIncludedInProperty(item, trimmedInput, this.alsoFilterByProperties) ||
this.isIncludedInProperty(item, trimmedInput, this.filterProps)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be added here

super(
[`short_name`, `username`, `email`, `saml_id`, `member_number`, `externalString`, `homeCommitteeName`],
[]
[`first_name`]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it makes sense to put this here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhancement: Fuzzy match for Participants search

3 participants