sort table by name

This commit is contained in:
2020-11-16 00:04:21 +11:00
parent 58695629dc
commit 797e043c20

View File

@@ -8,7 +8,7 @@
</thead> </thead>
<tbody> <tbody>
{% for publisher in publishers %} {% for publisher in publishers %}
<tr><td><a href="{{url_for('publisher', id=publisher.id )}}">{{publisher.name}}</a></td></tr> <tr><td data-sort="{{publisher.name}}"><a href="{{url_for('publisher', id=publisher.id )}}">{{publisher.name}}</a></td></tr>
{% endfor %} {% endfor %}
</tbody> </tbody>
</table> </table>