diff --git a/Resources/views/Pagination/twitter_bootstrap_v3_sortable_link.html.twig b/Resources/views/Pagination/twitter_bootstrap_v3_sortable_link.html.twig index 864d176c..24ca9760 100644 --- a/Resources/views/Pagination/twitter_bootstrap_v3_sortable_link.html.twig +++ b/Resources/views/Pagination/twitter_bootstrap_v3_sortable_link.html.twig @@ -9,8 +9,8 @@ - {% if app.request.get('sort') == key %} - {% if app.request.get('direction') == 'desc' %} + {% if sorted %} + {% if direction == 'desc' %} {% else %}