Add the possibility to filter a field 'accent insensitively'
Bug #1459231 reported by
Paolo Tormene
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake Platform |
Fix Committed
|
Undecided
|
Paolo Tormene |
Bug Description
Until Django 1.8, there is no simple way to filter a field 'accent insensitively'.
An example occurred in the Vulnerability application, where some authors had accents in their names and it was not possible to find those names if they were written with wrong accents in the search field.
We need a custom textual field that could be filtered both 'case insensitively' and 'accent insensitively', leveraging a custom postgres operator able to perform the search.
To post a comment you must log in.
Addressed in https:/ /github. com/gem/ oq-platform/ pull/419