Hi,
I am trying to get a search form to work on a sub-model.
The main table called "elements" is loaded by the main model called "elem".
The sub-table called "attributes" is loaded by the sub-model called "attr". This model is set with the Relation : "Multiple matching records, foreign key in this table." The searched keywords are to be found into the "value" column of the "attributes" table.
When I try this condition (under the Where conditions of "elem") ...
Does anyone know if what I'm trying is doable with CCv6 ?
Thanks in advance for your advices🙂
I am trying to get a search form to work on a sub-model.
The main table called "elements" is loaded by the main model called "elem".
The sub-table called "attributes" is loaded by the sub-model called "attr". This model is set with the Relation : "Multiple matching records, foreign key in this table." The searched keywords are to be found into the "value" column of the "attributes" table.
When I try this condition (under the Where conditions of "elem") ...
attr.value/LIKE:%{data:keywords}%... I get this error : 1054 Unknown column 'attr.value' in 'where clause'.
Does anyone know if what I'm trying is doable with CCv6 ?
Thanks in advance for your advices🙂