a small but a little bit strange topic appears, when I modify frontend-product-search-grid as follows:PHP1234567891011121314151617181920212223242526272829303132333435## MyProductBundle/Resources/config/oro/datagrids.yml#datagrids:frontend-product-search-grid:# options:# entityHint: oro.product.entity_plural_label# displayOptions:# selector: '.catalog__filter-controls__item_display-options'# requireJSModules:# - oroproduct/js/app/datagrid/frontend-product-display-options-builder# - oroproduct/js/app/datagrid/frontend-product-filters-events-dispatcher-builder# frontend: truesource:type: searchsearch_index: websitequery:select:- text.sku as sku- text.owner as owner- integer.newArrival as newArrival- text.names_LOCALIZATION_ID as name- text.shortDescriptions_LOCALIZATION_ID as shortDescription- text.type as type- text.image_product_medium as image_product_medium- text.image_product_large as image_product_large- text.product_units as product_units- text.primary_unit as unitfrom:- oro_product_WEBSITE_IDcolumns:owner:label: oro.organization.businessunit.entity_labelrenderable: false#
What I have done, was
1) Added to select-node (line 20):
– text.owner as owner
2) Added to columns (lines 31-34):
owner with label-, and renderable-properties
It is completely independent from touching the layout-files or not.
And this is, what came out (screenshot):
-> Some Owner-Output (Acme, General … Acme, West … etc ) below the grid-tyle.
To give you a html-snippet of a part related to this output (screenshot):
What could be the reason for that unnecessary output? How I can avoid this?
Thanks a lot
If I remmove the columns statement with owner and its properties from datagrids.yml there is no wrong owner output anymore.
But however I can’t pass owner to the layout then anymore too …
You must be logged in to reply to this topic.