This topic contains 2 replies, has 2 voices, and was last updated by Frank 4 years, 10 months ago.
- Topic
Hi there,
i want to add an extra column ‘description’ to a user-listing datagrid in backend.
All works fine:
1. With the help of an extra bundle I can extend/overwrite existing oro-bundle.
2. The existing datagrids.yml was expanded/appended very simple using the same datagrid-name, adding only an extra column (similiar to):
https://forum.oroinc.com/orocommerce/topic/how-to-extend-the-datagrid-yml-of-orob2bproductbundle123456789datagrids:some-oro-grid:source:query:select:-u.descriptioncolumns:description:label: oro.some.description.labelIn database the description value is stored as htm-text. Unfortunately, output in backend-listing is escaped. For example ‘Peter is working very hard.‘ instead of ‘Peter is working very hard’.
What can I do to prevent html-escaping?
In TWIG exists raw-filter. May be I can apply this in a way like:1234567datagrids:some-oro-grid:....columns:description:label: oro.some.description.labeldata_name: description|rawUnfortunately this is not working. ‘data_name’ seems to be the wrong parameter-name. It is ignored at all.
Thanks for help.
ind regards
Frank
The forum ‘OroPlatform’ is closed to new topics and replies.