{% sw_extends '@Storefront/storefront/page/search/search-pagelet.html.twig' %}
{% block element_product_listing_wrapper %}
	{% if app.request.get('boxLayout') != null %}
		{{ app.session.set('boxLayout', app.request.get('boxLayout')) }}
	{% endif %}
	{% sw_include '@Storefront/storefront/element/cms-element-sidebar-filter.html.twig' with {
        listing: page.listing,
        sidebar: false
    } %}

	{% sw_include '@Storefront/storefront/component/product/listing.html.twig' with {
        searchResult: page.listing,
        dataUrl: url('widgets.search.pagelet.v2'),
        filterUrl: url('widgets.search.filter'),
        params: { search: page.searchTerm },
        sidebar: 0,
        boxLayout: 'minimal',
        displayMode: '',
        ariaLiveUpdates: true
    } %}
{% endblock %}
