0001-alfortville-sort-mails-by-post-date-in-DG-tables-147.patch
welco/contrib/alfortville/templates/alfortville/dg-table.html | ||
---|---|---|
26 | 26 |
<th><input type="checkbox" title="{% trans "Click to (un)toggle all mails" %}" id="click-all-pks"/></th> |
27 | 27 |
</thead> |
28 | 28 |
<tbody> |
29 |
{% for object in mails %} |
|
29 |
{% for object in mails|dictsort:"post_date" %}
|
|
30 | 30 |
<tr data-mail-id="{{object.id}}"> |
31 | 31 |
<td class="r">{{object.post_date|date:"d F Y"|lower}}</td> |
32 | 32 |
<td class="r">{{object.reference|default:'-'}}</td> |
33 |
- |