I would like to know if it is possible to use setRelation() with the main table pk several times.
Suppose I have:
usertable with ‘id’ as pk.
- A table named
- Another table named
auth_groups_userscontains the users’
group, again using a
I would like to show both columns,
group, along with the main
user table fields.
Problem is when I use something like this:
$crud->setRelation('id', 'auth_identities', 'email') $crud->setRelation('id', 'auth_groups_users', 'group')
group column is shown in place of
How can I show two or more columns always having the pk
$fieldName first parameter?
Any workaround (without relying on views)?