diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c70121..198530b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # OpenStreetMap Tool +**0.2.3:** + - Allow leisure tags in nominatim fallback results. + **0.2.1:** - Only print secondary results if they exist. - Remove extraneous print logging. diff --git a/osm.py b/osm.py index 8bb8903..a5278c7 100644 --- a/osm.py +++ b/osm.py @@ -2,7 +2,7 @@ title: OpenStreetMap Tool author: projectmoon author_url: https://git.agnos.is/projectmoon/open-webui-filters -version: 0.2.1 +version: 0.2.2 license: AGPL-3.0+ required_open_webui_version: 0.3.9 """ @@ -112,6 +112,7 @@ class OsmSearcher: return ([nominatim_result] if 'type' in nominatim_result and (nominatim_result['type'] == 'amenity' or nominatim_result['type'] == 'shop' + or nominatim_result['type'] == 'leisure or nominatim_result['type'] == 'tourism') else [])