Skip to content

Commit

Permalink
changed the order of the table
Browse files Browse the repository at this point in the history
  • Loading branch information
ulfa committed Jul 23, 2014
1 parent dd77791 commit b8380f2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions apps/leni/templates/base.dtl
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@

<script src="/js/bootstrap.js" type="text/javascript"></script>
<script type="text/javascript" charset="utf8">
$(document).ready( function () {
$('#table_id').DataTable();
} );
$(document).ready( function () {
$('#table_id').DataTable({
"order": [[ 0, "desc" ]]
});
} );
</script>
</html>

0 comments on commit b8380f2

Please sign in to comment.