Skip to content

Bug when filtering words with accents #3249

@pabloroxo

Description

@pabloroxo

Hi, Arjay!

I'm facing a bug when fitering by term.

For example: I list users and there is a user called "Tatiane Simões". Note the "õ". If I search for "simões", it will show in the list. But sometimes we don't type the accents. We just put "simoes" in the field and expect that "Tatiane Simões" will be listed. But it's not.

Is there any way we could ignore these accents when filtering? Maybe adding some boolean option, like in other options in "/vendor/yajra/laravel-datatables-oracle/src/config/datatables.php". If yes, here's a list of letters with accents in portuguese brazilian which we'd love to be replaced:

Ã/ã/Á/á/À/à/Â/â = a
É/é/Ê/ê = e
Í/í = i
Ó/ó/Ô/ô/Õ/õ = o
Ú/ú = u
Ç/ç = c

We don't use other combinations of letter and accents.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions