templates/search/order.html.twig line 1

Open in your IDE?
  1. <select name="module-de-tri" id="sort-list" class="form-control" required="required" onchange="if (this.value) window.location.href=this.value">
  2.     {% for item in order_select %}
  3.         {% set route_params = app.request.attributes.get('_route_params')|merge(app.request.query.all|merge({'order': item.order })) %}
  4.             <option value="{{ path(app.request.attributes.get('_route'), route_params|arr_unset('page')|arr_unset('mode')) }}" {{ item.selected }}>  {{ item.descr }}  </option>
  5.         {% endfor %}
  6.     </select>