Hello
I have tried to implement the solution described at https://www.itophub.io/wiki/page?id=latest:customization:count-linkset.
And I can't get the instruction that returns the number of elements in the related class to return the active elements, which on the other hand are already filtered in the corresponding field:
$this->Set('namespaces',$this->Get('cloudk8snamespace_list')->count());
Would there be any possibility to avoid the fetch?
Thank you very much and greetings.
Last edit: Ana María Gutiérrez González 2025-01-23
Hello
I have tried to implement the solution described at https://www.itophub.io/wiki/page?id=latest:customization:count-linkset.
And I can't get the instruction that returns the number of elements in the related class to return the active elements, which on the other hand are already filtered in the corresponding field:
$this->Set('namespaces',$this->Get('cloudk8snamespace_list')->count());
Would there be any possibility to avoid the fetch?
Thank you very much and greetings.
Last edit: Ana María Gutiérrez González 2025-01-23