I have a module called Legalizations, in which it has a field related to a module called accumulator, this relationship is Many to one. The drawback is that I want to apply an initial filter to only show me the accumulators that have been open at the time of creating a new legalization.
ACCUMULATOR MODULE
LEGALIZATION MODULE
When looking in the accumulator field of the legalizations module, the accumulator should not appear highlighted since it has a "closed" status, modify the following file: ./ custom / modules / cml_legalizaciones / metadata / editviewdefs. php
which was as follows:
1 =>
array (
'name' => 'cml_acumulador_cml_legalizaciones_name',
'displayParams' =>
array(
'initial_filter' => array(
'&estado_c_advanced = abierto',
),
),
),
but it still does not work for me.