Skip to content

Commit

Permalink
added ordering by creation date
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Augusto Malucelli committed Mar 20, 2019
1 parent d3a2a9f commit 61b74b0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#repo').DataTable();
$('#repo').DataTable({
"order": [[4,'asc']]
});
});
</script>
</body>
Expand Down

0 comments on commit 61b74b0

Please sign in to comment.