trie par lastname (ref #237)
This commit is contained in:
parent
3fc0a1b809
commit
c150c15bc7
|
@ -196,7 +196,7 @@
|
|||
<label class="control-label required">Destinataires<span class="mandatory">*</span></label>
|
||||
|
||||
<select id="destinataires" style="width:100%" name="states[]" multiple="multiple">
|
||||
{% for user in group.users %}
|
||||
{% for user in group.users |sort((a, b) => a.user.lastname <=> b.user.lastname) %} %}
|
||||
{%if(user.user!=app.user)%}
|
||||
<option value="{{user.user.email}}" data-image="\{{alias}}\uploads\avatar\{{user.user.avatar}}">{{user.user.lastname}} {{user.user.firstname}}</option>
|
||||
{%endif%}
|
||||
|
|
Loading…
Reference in New Issue