rqlsuggestion: filter vocabulary base on the user query (not only all the value in the database)
When completing a RQL, eg Any X WHERE X is Toto, Y has_toto T, Y name "
, we want the RQLSuggestionBuilder to suggest only Y-name for Y entities linked to a X entity by a has_toto
relation. For now, the RQLSuggestionBuilder returns all the possible names for Y entities.
See https://forge.extranet.logilab.fr/cubicweb/cubicweb/-/blob/branch/4.x/cubicweb/rqlsuggestions.py#L268 for a starting point.