aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates
diff options
context:
space:
mode:
authorSawyer Bergeron <sawyerbergeron@gmail.com>2019-03-13 14:11:01 -0400
committerSawyer Bergeron <sawyerbergeron@gmail.com>2019-03-13 14:11:01 -0400
commitb5edaf0265f7b008320a776ed7f7e9f8fa9abda3 (patch)
treebd7375e6ebea915e29ca8fa0556e6fb7a7529ce5 /src/templates
parentbe1c52d073fe16375a95a74d39fff08274924211 (diff)
Add column ordering to host list
Change-Id: Id1d52217b85aaafed71177c8eed5719dbb1bff4a Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/resource/hosts.html5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/templates/resource/hosts.html b/src/templates/resource/hosts.html
index 4a53b45..4bf64e0 100644
--- a/src/templates/resource/hosts.html
+++ b/src/templates/resource/hosts.html
@@ -35,10 +35,7 @@
$(document).ready(function () {
$('#table').DataTable({
scrollX: true,
- columnDefs: [
- {type: 'status', targets: 6}
- ],
- "order": [[6, "asc"]]
+ "order": [[0, "asc"]]
});
});
</script>