Bienvenue, Invité
Nom d'utilisateur : Mot de passe :
Before asking for help please read "Requesting Help and Suggestions" by clicking on that tab above here.
  • Page :
  • 1

SUJET :

Selecting places from dropdown il y a 3 semaines 5 jours #1

  • aderksen
  • Portrait de aderksen Auteur du sujet
  • Hors Ligne
  • Nouveau membre
  • Nouveau membre
  • Messages : 25
When entering place names for example birth or death, I normally start typing and a dropdown appears with options containing the typed string.
That is OK.
Apparently there is a limit of 10 found places in the dropdown.

Now I have an issue with some short placenames (in the Netherlands) like Uden or Loo.
These are names that produce a long dropdown list, because there are a lot of placenames in the database containing these strings.

For example the name Uden produces in my case:
Crudenburg, Nordrhein-Westfalen, Duitsland
Freudenstadt, Baden-Württemberg, Duitsland
Gudensberg, Hessen, Duitsland
Judenburg, Steiermark, Oostenrijk
Lüdenhausen, Nordrhein-Westfalen, Duitsland
Lüdenscheid, Nordrhein-Westfalen, Duitsland
Oudenaarde, Oost-Vlaanderen, België
Oudenbosch, Noord-Brabant, Nederland
Oudenrijn, Utrecht, Nederland
Rauden, Sachsen, Duitsland

... but NOT the place I am looking for: Uden, Noord-Brabant, Nederland

In webtrees 1.7 I was able to type on more characters like Uden, N and then the right place eventually appears in the dropdown list.

But in Webtrees 2 it does not.
It looks like if the search is done only on the first part of the placename.

The problem now is that my editors do not find the correct placename and think it does not exist yet.
Then they are entering the name as a new one and sometimes make typos, so duplicates arise.

Is this as designed or is it a bug ?

Connexion ou Créer un compte pour participer à la conversation.

Selecting places from dropdown il y a 3 semaines 5 jours #2

  • fisharebest
  • Portrait de fisharebest
  • Absent
  • Administrateur
  • Administrateur
  • Messages : 14517
We use the corejs-typeahead library for this.

AFAICT, it is a limitiation / design-decision of this library.

I've been seaching for a solution to this - but cannot find one.
Greg Roach - Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser. - fisharebest.webtrees.net

Connexion ou Créer un compte pour participer à la conversation.

Selecting places from dropdown il y a 3 semaines 5 jours #3

I had the same problem and I changed the limit from 10 to 15 in /public/js/webtrees.min.js (search for "limit:10").

Before v2.0.15 I could adjust it in the file AbstractAutocompleteHandler.php. But this no longer worked. Presumably the setting there is overwritten with webtrees.min.js.
Martin - ffp.bauschaffen.de

Connexion ou Créer un compte pour participer à la conversation.

  • Page :
  • 1
Propulsé par Kunena