On enlève "France" du filtre de détection de lieu
This commit is contained in:
parent
789ef8aa2e
commit
8e8936440c
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user