cubicweb #2957313 entity: .related should have a targettypes parameter [validation pending]

... that could be given to cw_related_rql, which already handles it, to restrict the query.

prioritynormal
typeenhancement
done in3.18.0
load0.200
load left0.000
closed by#723e2c586ea3 [entity] Entity.related(): add a targettypes argument (closes #2957313)
patch[entity] .related: pass targettypes to related_rql (closes #2957313) [applied]