fisharebest / webtrees

Online genealogy
https://webtrees.net
GNU General Public License v3.0
487 stars 301 forks source link

No autocomplete for Place in "Advance Search" #4406

Open Fa10175 opened 2 years ago

Fa10175 commented 2 years ago

There are not aucomplete for place in Advance Search. If i use tkempf: his AutoCompletePlaceLocation module or not.

see https://www.webtrees.net/index.php/fr/forum/help-for-release-2-1-x/36881-search-advance-search#91997

fisharebest commented 2 years ago

The autocomplete function provides a full place name - "Paris, Texas, United States", "Paris, Ile de France, France".

The advanced search requires a simple placename - "Paris" - and will include results from both places.

It also matches partial placenames. A search for "York" will match "New York" and "North Yorkshire"

So the two functions are not compatible.

We could either:

1) change the search to use full place names. 2) create a new autocomplete that only provides the simple name.