File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
view/frontend/templates/layer Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,14 @@ public function ajaxEnabled($storeId = null)
5151 */
5252 public function getLayerConfiguration ($ filters )
5353 {
54- $ filterParams = $ this ->_getRequest ()->getParams ();
54+ $ params = $ this ->_getRequest ()->getParams ();
55+ $ filterParams = [];
56+ foreach ($ params as $ key => $ param ) {
57+ if ($ key === 'amp;dimbaar ' ) {
58+ continue ;
59+ }
60+ $ filterParams [htmlentities ($ key )] = htmlentities ($ param );
61+ }
5562
5663 $ config = new DataObject ([
5764 'active ' => array_keys ($ filterParams ),
Original file line number Diff line number Diff line change 7979 <script type="text/x-magento-init">
8080 {
8181 ".block-content.filter-content":{
82- "mpAjax": <?= /** @noEscape */ $ layerConfig ?>
82+ "mpAjax": <?= /** @noEscape */ $ block -> escapeJs ( $ layerConfig) ?>
8383 }
8484 }
8585 </script>
You can’t perform that action at this time.
0 commit comments