diff --git a/app/assets/javascripts/hisd_employees.js.coffee b/app/assets/javascripts/hisd_employees.js.coffee index 3713d1d..25ed391 100644 --- a/app/assets/javascripts/hisd_employees.js.coffee +++ b/app/assets/javascripts/hisd_employees.js.coffee @@ -3,4 +3,6 @@ # You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ jQuery -> - $('#hisd').dataTable() \ No newline at end of file + $('#hisd').dataTable + "aaSorting": [[ 0, "desc" ]] + "sPaginationType": "full_numbers" \ No newline at end of file diff --git a/app/assets/javascripts/student_check_outs.js.coffee b/app/assets/javascripts/student_check_outs.js.coffee index 334fdab..28244db 100644 --- a/app/assets/javascripts/student_check_outs.js.coffee +++ b/app/assets/javascripts/student_check_outs.js.coffee @@ -3,4 +3,6 @@ # You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ jQuery -> - $('#checkout').dataTable() + $('#checkout').dataTable + "aaSorting": [[ 0, "desc" ]] + "sPaginationType": "full_numbers" \ No newline at end of file diff --git a/app/assets/javascripts/visitors.js.coffee b/app/assets/javascripts/visitors.js.coffee index 65be5e7..89b74c6 100644 --- a/app/assets/javascripts/visitors.js.coffee +++ b/app/assets/javascripts/visitors.js.coffee @@ -3,7 +3,6 @@ # You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ jQuery -> - $('#visitors').dataTable() - - - + $('#visitors').dataTable + "aaSorting": [[ 0, "desc" ]] + "sPaginationType": "full_numbers"