- last update
11 months ago Patch Failed to Apply - π³π±Netherlands kingdutch
Moving this from "Postponed" to "Needs work" for the "Needs tests" and updating the issue summary.
geek-merlin accidentally commented on the wrong issue π Entity field relationship queries for multi column field items stored in shared tables are broken Needs work but meant to reply to reply here to 27. Quoting for completeness.
Unblocking this as the other issue is stalled, and imho no blocker for working on this.
> and I don't actually understand what this example syntax would query for:
> tid.referenced_by:tags:node.nid"Referenced by field tags of a node" ;-)
The added example in the Patch (
tid.referenced_by:tags:node.nid
) indeed translates to "Select the taxonomy term that has it's Term ID referenced by thetags
field on Node for nodes with the following node ID".Similarly the example my Mirroar in #12:
$query->condition('tid.referenced_by:field_tags:node.field_article_type', 'news')
can be explained as: "Select the terms where the Term ID is referenced by the field_tags field on nodes where field_article_type is news" - Status changed to Needs work
10 months ago 8:30pm 6 March 2024 - π¬π§United Kingdom joachim
From what I remember, fixing π Entity field relationship queries for multi column field items stored in shared tables are broken Needs work first will make the work here a lot easier.
- Status changed to Postponed
6 months ago 3:01pm 2 July 2024 - π¬π§United Kingdom joachim
Yup, the MR at π Entity field relationship queries for multi column field items stored in shared tables are broken Needs work refactors addTable() to have a simple loop that consumes the pieces of the field specifier. Once that gets in, it'll be MUCH easier to add an additional check to that loop to check for the 'referenced_by:' token.