fix searching with different languages
This commit is contained in:
parent
5fe5580497
commit
e144156b8a
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ c3nav = {
|
|||
location.elem = c3nav._build_location_html(location);
|
||||
location.title_words = location.title.toLowerCase().split(/\s+/);
|
||||
location.subtitle_words = location.subtitle.toLowerCase().split(/\s+/);
|
||||
location.match = ' ' + location.title_words.join(' ') + ' ' + location.subtitle_words.join(' ') + ' ' + location.slug + ' ' + location.add_search;
|
||||
location.match = ' ' + location.title_words.join(' ') + ' ' + location.subtitle_words.join(' ') + ' ' + location.slug + ' ' + location.add_search.toLowerCase();
|
||||
locations.push(location);
|
||||
locations_by_id[location.id] = location;
|
||||
if (location.point && location.label_settings) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue