On enlève "France" du filtre de détection de lieu
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
choices.showDropdown();
|
||||
|
||||
setTimeout(() => {
|
||||
const searchTerm = htmlDecode('{{ object.location }}').replace(/\(?\d{5}\)?/, '');
|
||||
const searchTerm = htmlDecode('{{ object.location }}').replace(/\(?\d{5}\)?/, '').replace(/\s*,?\s*France\s*/, '');
|
||||
choices.input.focus();
|
||||
choices.input.value = searchTerm;
|
||||
choices._handleSearch(searchTerm);
|
||||
|
Reference in New Issue
Block a user