This commit is contained in:
max-klaus 2019-11-09 20:51:14 +03:00
parent 231462d1ba
commit 0a9ba4399c
2 changed files with 3 additions and 1 deletions

View file

@ -705,7 +705,7 @@ public class SearchCoreFactory {
List<PoiType> additionals = pt.getPoiAdditionals();
if (additionals != null) {
for (PoiType a : additionals) {
if (!a.isReference() && !results.contains(a)) {
if (!results.contains(a)) {
String enTranslation = a.getEnTranslation().toLowerCase();
if (!"yes".equals(enTranslation) && !"no".equals(enTranslation)
&& (nm.matches(enTranslation) || nm.matches(a.getTranslation()) || nm.matches(a.getSynonyms()))) {

View file

@ -13,6 +13,8 @@
"results": [
"Spring (Natural)",
"Spring (Spring / Natural)",
"Spring (Ice rink / Sport)",
"Spring (Bridge / Transport construction)",
"Spring Street, South Nyack",
"Spring Street, Tomkins Cove",
"Spring Street, Southfields",