I'd like to make search on a relation of my class.
So. I have my class "formation" (the main) witch has a
relation with class "type".
I found that the node_id of the type linked with my formation was stored in $node.object.data_map.type.content.main_node_id . I'd like to make my search on this criteria. By displaying only "formations" having type "long" whose node_id is "91" for example.
So is there a way to test this directly in the fetch function ? Or will I have to had a "{section show..." statement ?
If I want to create a custom search form that calls back the same template, am I forced to use the default search.tpl ? Cause I've tried something and it doesnt seem to work...