Commit aeab2d63 authored by Johan Cwiklinski's avatar Johan Cwiklinski
Browse files

Fix wrong constants call

parent be1f71d0
......@@ -154,7 +154,7 @@
<a href="{{ path_for("members", {"option": "order", "value": constant("Galette\\Repository\\Members::ORDERBY_ID")}) }}">
{{ _T('Mbr id') }}
{% if filters.orderby == constant('Galette\\Repository\\Members::ORDERBY_ID') %}
{% if filters.ordered == constant('Galette\Filters\MembersList::ORDER_ASC') %}
{% if filters.ordered == constant('Galette\\Filters\\MembersList::ORDER_ASC') %}
<i class="ui angle down icon tooltip"></i>
{% else %}
<i class="ui angle up icon tooltip"></i>
......@@ -170,7 +170,7 @@
<a href="{{ path_for("members", {"option": "order", "value": column.field_id}) }}">
{{ column.label }}
{% if filters.orderby == column.field_id %}
{% if filters.ordered == constant('Galette\Filters\MembersList::ORDER_ASC') %}
{% if filters.ordered == constant('Galette\\Filters\\MembersList::ORDER_ASC') %}
<i class="ui angle down icon tooltip"></i>
{% else %}
<i class="ui angle up icon tooltip"></i>
......
......@@ -36,7 +36,7 @@
<a href="{{ path_for("publicList", {"type": "list", "option": "order", "value": constant("Galette\\Repository\\Members::ORDERBY_NAME")}) }}" class="listing">
{{ _T('Name') }}
{% if filters.orderby == constant('Galette\\Repository\\Members::ORDERBY_NAME') %}
{% if filters.ordered == constant('Galette\Filters\MembersList::ORDER_ASC') %}
{% if filters.ordered == constant('Galette\\Filters\\MembersList::ORDER_ASC') %}
<i class="ui angle down icon tooltip"></i>
{% else %}
<i class="ui angle up icon tooltip"></i>
......@@ -48,7 +48,7 @@
<a href="{{ path_for("publicList", {"type": "list", "option": "order", "value": constant("Galette\\Repository\\Members::ORDERBY_NICKNAME")}) }}" class="listing">
{{ _T('Nickname') }}
{% if filters.orderby == constant('Galette\\Repository\\Members::ORDERBY_NICKNAME') %}
{% if filters.ordered == constant('Galette\Filters\MembersList::ORDER_ASC') %}
{% if filters.ordered == constant('Galette\\Filters\\MembersList::ORDER_ASC') %}
<i class="ui angle down icon tooltip"></i>
{% else %}
<i class="ui angle up icon tooltip"></i>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment