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

add support for scpecial characters #2002

Closed
wants to merge 3 commits into from

Conversation

egermano
Copy link

@egermano egermano commented Jul 3, 2014

Add support for special characters on search.

Example: When I search for "Sao Paulo" (without ~) doesn't match with "São Paulo" (with ~).

I added a function convert_accented_characters, it convert a search query and search results special characters to match.

@@ -1,5 +1,64 @@
class AbstractChosen

convert_accented_characters: (str) ->
new Object();
Copy link
Collaborator

Choose a reason for hiding this comment

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

this looks weird

Copy link
Author

Choose a reason for hiding this comment

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

You are right @stof. I will fix this in my next commit.

@tjschuck
Copy link
Member

tjschuck commented Jul 3, 2014

See also: #536

@koenpunt
Copy link
Collaborator

Closing in favor of the more modular way in #2618

@koenpunt koenpunt closed this Sep 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants