oroinc / platform

Main OroPlatform package with core functionality.
Other
627 stars 351 forks source link

Update layout.html.twig #1093

Closed startupz closed 1 year ago

startupz commented 1 year ago

Fix profiler for 5.0.x version (or before). This problem is due to @setOption and multiple optionValue like this :

# vendor/oro/commerce/src/Oro/Bundle/ProductBundle/Resources/views/layouts/blank/imports/oro_product_grid/grid.yml
- '@setOption': id: product_datagrid_export_export_button optionName: routeOptions optionValue:
          filteredResultsGrid: 'frontend-product-search-grid'
          filteredResultsGridParams: '=data["frontend_product_export_options"].getDefaultGridExportRequestOptions()'
anyt commented 1 year ago

Thank you for your contribution. Internal ticket id is #BAP-21759.

anyt commented 1 year ago

Merged. Thank you again, @startupz. The fix will be included in the next 5.0.* patch release and 5.1.0.