Skip to content

Commit

Permalink
Merge pull request #476 from xPolo360/patch-1
Browse files Browse the repository at this point in the history
Use twig parameters instead of query parameters
  • Loading branch information
polc authored Feb 28, 2019
2 parents 0b171bc + 87c5556 commit 489450c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

<a{% for attr, value in options %} {{ attr }}="{{ value }}"{% endfor %} style="color: #000;">
<span class="pull-right">
{% if app.request.get('sort') == key %}
{% if app.request.get('direction') == 'desc' %}
{% if sorted %}
{% if direction == 'desc' %}
<i class="glyphicon glyphicon-sort-by-attributes-alt"></i>
{% else %}
<i class="glyphicon glyphicon-sort-by-attributes"></i>
Expand Down

0 comments on commit 489450c

Please sign in to comment.