Fix poi additional search
This commit is contained in:
parent
b49c2bb6fd
commit
1f038fceb9
1 changed files with 1 additions and 1 deletions
|
@ -557,7 +557,7 @@ public class SearchCoreFactory {
|
|||
List<PoiType> additionals = pt.getPoiAdditionals();
|
||||
if (additionals != null) {
|
||||
for (PoiType a : additionals) {
|
||||
if (!a.isReference() && !results.contains(a) && (nm.matches(a.getKeyName()) || nm.matches(a.getTranslation()))) {
|
||||
if (!a.isReference() && !results.contains(a) && (nm.matches(a.getKeyName().replace('_', ' ')) || nm.matches(a.getTranslation()))) {
|
||||
results.add(a);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue