Locations are duplicated in search results
Many locations are duplicated in the search results for locations in GNOME Weather and in GNOME Initial Setup's timezone page. I think this is likely to be a libgweather issue since that is the common code between these two projects.
Steps to reproduce
-
Do one of the following:
a. Run initial setup, and advance to the timezone page
b. Open GNOME weather, open the search field
-
Search for "China", "Finland", "France" or almost certainly other options
Expected results
- Towns and cities matching the search terms are only shown once
Actual results
GNOME Initial Setup
screenshots taken in Fedora Silverblue 30, with the vendor.conf file patched to not skip the timezone page. (This was originally spotted in Endless OS, where it can also be seen.)
GNOME Weather
installed from Flathub on Endless:
Edited by Will Thompson