Skip to content

Commit

Permalink
Orders packages by status then package name.
Browse files Browse the repository at this point in the history
  • Loading branch information
shelleydoljack committed Dec 19, 2018
1 parent d847051 commit a2d3ff9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/assets/javascripts/packages.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Place all the behaviors and hooks related to the matching controller here.
// All this logic will automatically be available in application.js.
jQuery(document).ready(function($) {
$('table').DataTable();
$('table').DataTable( {
"order": [[ 1, "asc" ], [ 3, "asc" ]]
});
});

0 comments on commit a2d3ff9

Please sign in to comment.