Fix #7561
This commit is contained in:
parent
231462d1ba
commit
0a9ba4399c
2 changed files with 3 additions and 1 deletions
|
@ -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()))) {
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue