Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: [FEA] ✨ Users can be searched ignoring accents #886

Merged
merged 1 commit into from
Aug 28, 2024
Merged

Conversation

CChemin
Copy link
Contributor

@CChemin CChemin commented Jun 21, 2024

No description provided.

@CChemin CChemin marked this pull request as ready for review August 22, 2024 13:31
getFilterFromObject(userFilter, userLdapMapper, typeRecherche, false),
pageable,
userLdapMapper);
String normalizedCommonName = stripAccents(initialCommonName);
Copy link
Contributor

Choose a reason for hiding this comment

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

also replace one/multi ' - and space by one space

"One result should be dartagnan1",
users.stream().anyMatch(u -> u.getUsername().equals("dartagnan1")));
assertThat(
"The other dartagnan3", users.stream().anyMatch(u -> u.getUsername().equals("dartagnan1")));
Copy link
Contributor

Choose a reason for hiding this comment

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

equals(dartagnan3) ?

@CChemin CChemin force-pushed the fuzzy-request branch 2 times, most recently from 06e3830 to 498004f Compare August 23, 2024 10:15
@CChemin CChemin merged commit 87ab8b6 into main Aug 28, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants