fix regression in default setting for details linkedplaces

This commit is contained in:
Sarah Hoffmann
2023-08-13 15:30:04 +02:00
parent 746dd057b9
commit bcf8433ba8
2 changed files with 2 additions and 2 deletions

View File

@@ -141,7 +141,7 @@ def _format_details_json(result: napi.DetailedResult, options: Mapping[str, Any]
if result.address_rows is not None:
_add_address_rows(out, 'address', result.address_rows, locales)
if result.linked_rows is not None:
if result.linked_rows:
_add_address_rows(out, 'linked_places', result.linked_rows, locales)
if result.name_keywords is not None or result.address_keywords is not None: