This topic contains 4 replies, has 2 voices, and was last updated by jakabadambalazs 8 years, 11 months ago.
- Topic
Hi,
I have a project datagrid:
1234567891011121314151617181920projects-grid:extended_entity_name: %mekit_project.project.entity.class%source:type: ormacl_resource: mekit_project_viewquery:select:- p.id- p.name- Account.name as accountName- CONCAT(assignees.firstName, ' ', assignees.lastName) as assigneeFullNamefrom:- { table: %mekit_project.project.entity.class%, alias: p }join:inner:- { join: p.account, alias: Account }left:- { join: p.users, alias: assignees }where, I have one or more users assigned to the project(assignees).
I’d like to show all user names (comma separated) in a certain column.
I have created a column:
1234567assigneeFullName:label: mekit.project.users.labeltype: twigfrontend_type: htmltemplate: MekitCrmBundle:Crm:Datagrid/Property/users.html.twigand a template for it in which I want to loop the users and output firstName + lastName but it does not seem to work as I expect it to do(actually it does not work at all)
{% set assignees = record.getValue(‘users’) %}
{% set assignees = record.getValue(‘assignees’) %}these all return NULL.
How can I do this?
oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)
The forum ‘OroPlatform – How do I? Questions’ is closed to new topics and replies.