Merge pull request #455 from gwasser/ticket_list_view

Use HTML5 table ordering based on Unix epoch
This commit is contained in:
Jonathan Barratt 2016-11-21 20:29:13 +07:00 committed by GitHub
commit 45a8ce98ac

View File

@ -344,7 +344,7 @@ $(document).ready(function() {
<th><a href='{{ ticket.get_absolute_url }}'>{{ ticket.title }}</a></th>
<td>{{ ticket.queue }}</td>
<td>{{ ticket.get_status }}</td>
<td><span title='{{ ticket.created|date:"r" }}'>{{ ticket.created|naturaltime }}</span></td>
<td data-order='{{ ticket.created|date:"U" }}'><span title='{{ ticket.created|date:"r" }}'>{{ ticket.created|naturaltime }}</span></td>
<td>{{ ticket.get_assigned_to }}</td>
</tr>
{% empty %}