Hi Sir,
Again welcome…plz carry on Steps…what next?
konapaz
(Konapaz)
23
The $data->getRelated(\‘assignments\’) has more one records due to HAS_MANY relation
replace
$data->getRelated(\‘assignments\’)->group_id
with
array_pop($data->getRelated(\‘assignmentrel\’))->group_id’, to get the first one
If you want to show all group_id you can to with another way
@KonApaz.
Thanks for your reply/comments…i have achieved my goal for this relation using ur advise.Thanks for favourable response.
konapaz
(Konapaz)
25