Nikki added a comment.

  - Select the property `P21` and it will show you a list of suggestions.
  - Press the down arrow to go through the suggestions and it will show the ID 
in the input field for each one.
  - Type "male" and it will do a search.
  - Press the down arrow to go through the suggestions again and it will show 
the ID for the ones that were already shown before (loaded from the 
suggestions) and the label for the ones that weren't (loaded from the search).
  
  It seems like this function is the problem? 
https://gerrit.wikimedia.org/g/mediawiki/extensions/Wikibase/+/master/view/resources/jquery/wikibase/jquery.wikibase.entityselector.js#531
  It only checks `entityStub.label`. The search results have `entityStub.label` 
and `entityStub.display.label` so it works fine, but the suggestions only have 
`entityStub.display.label` which makes it fall back to the ID.

TASK DETAIL
  https://phabricator.wikimedia.org/T306214

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Nikki
Cc: Nikki, Lucas_Werkmeister_WMDE, Aklapper, Moebeus, Astuthiodit_1, 
karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Eihel, Nandana, 
Lahi, Gq86, GoranSMilovanovic, QZanden, Esc3300, LawExplorer, _jensen, 
rosalieper, Agabi10, Scott_WUaS, abian, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to