diff options
Diffstat (limited to 'templates/personindex.html')
-rw-r--r-- | templates/personindex.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/personindex.html b/templates/personindex.html index 1f21b2b..56e97d9 100644 --- a/templates/personindex.html +++ b/templates/personindex.html @@ -8,12 +8,12 @@ <h2>Notable expoers</h2> <table class="searchable"> <tr><th>Person</th><th>First</th><th>Last</th><th>Notability</th></tr> -{% for person in notablepersons %} +{% for person in notablepersons|dictsortreversed:"notability" %} <tr> <td><a href="{{ person.get_absolute_url }}">{{person|wiki_to_html_short}}</a></td> <td><a href="{{ person.first.get_absolute_url }}">{{ person.first.expedition.year }}</a></td> <td><a href="{{ person.last.get_absolute_url }}">{{ person.last.expedition.year }}</a></td> - <td>{{person.notability}}</td> + <td>{{person.notability|floatformat:2}}</td> </tr> {% endfor %} </table> |