mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-22 21:28:10 +03:00
housenumber-only searches cannot be combined with qualifiers
This commit is contained in:
parent
103800a732
commit
f07f8530a8
@ -390,7 +390,7 @@ class _TokenSequence:
|
||||
yield from self._get_assignments_address_backward(base, query)
|
||||
|
||||
# variant for special housenumber searches
|
||||
if base.housenumber:
|
||||
if base.housenumber and not base.qualifier:
|
||||
yield dataclasses.replace(base, penalty=self.penalty)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user