How to remove accent on autocomplete field

Created on 30 May 2016, almost 9 years ago
Updated 23 April 2025, 9 days ago

I need to customize the search term for the autocomplete search
If a user tape "nimes" I need to search for "nîmes" too
if a search term has "i" character, the request must be with "î" or "i" or "ï"

here is the beginning of the hook:

function searchTools_views_query_alter(&$view, &$query) { 
	
	if ($view->name == 'front') {
	dpm($view); 
	$search_term = $view->exposed_raw_input['front'];
    }    

}
💬 Support request
Status

Closed: outdated

Version

1.0

Component

Documentation

Created by

🇫🇷France zorax Monoblet

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇷🇴Romania vasike Ramnicu Valcea

    As Drupal 7.x and also modules 7.x versions "ended their lives", closing the 7.x issues.

    And thanks for participating and using the module.

    p.s. if this still an issue on the latest 2.x version, please feel free to re-open and update the version accordingly.

Production build 0.71.5 2024