diff --git a/puppetboard/static/coffeescript/tables.coffee b/puppetboard/static/coffeescript/tables.coffee index 137f11e..9b47f45 100644 --- a/puppetboard/static/coffeescript/tables.coffee +++ b/puppetboard/static/coffeescript/tables.coffee @@ -2,15 +2,22 @@ $ = jQuery $ -> $('.nodes').tablesorter( headers: - 3: + 4: sorter: false - sortList: [[0,0]] + sortList: [[1,0]] ) $('.facts').tablesorter( sortList: [[0,0]] ) +$('.dashboard').tablesorter( + headers: + 2: + sorter: false + sortList: [[0, 1]] +) + $('input.filter-table').parent('div').removeClass('hide') $("input.filter-table").on "keyup", (e) -> rex = new RegExp($(this).val(), "i") diff --git a/puppetboard/static/js/tables.js b/puppetboard/static/js/tables.js index a449ddd..ccac257 100644 --- a/puppetboard/static/js/tables.js +++ b/puppetboard/static/js/tables.js @@ -23,7 +23,7 @@ headers: { 2: { sorter: false } }, - sortList: [[0, 0]] + sortList: [[0, 1]] }); $('input.filter-table').parent('div').removeClass('hide');