From 5d576b450cf920ca439194e724568fb3d5508bc8 Mon Sep 17 00:00:00 2001 From: Simon Guilbault Date: Mon, 17 Jun 2024 18:45:34 +0000 Subject: [PATCH] Fixing the default sorting by column modified in 68dffae07 --- top/templates/top/compute.html | 2 +- top/templates/top/gpucompute.html | 2 +- top/templates/top/largemem.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/top/templates/top/compute.html b/top/templates/top/compute.html index 6be67b0..37da5de 100644 --- a/top/templates/top/compute.html +++ b/top/templates/top/compute.html @@ -71,7 +71,7 @@

{% translate "Top compute users" %}

$(document).ready(function () { $('#compute').DataTable({ "paging": false, - "order": [[ 1, "desc" ]], + "order": [[ 2, "desc" ]], columns: [ { }, { }, diff --git a/top/templates/top/gpucompute.html b/top/templates/top/gpucompute.html index 6cf64eb..7e598fe 100644 --- a/top/templates/top/gpucompute.html +++ b/top/templates/top/gpucompute.html @@ -106,7 +106,7 @@

{% translate "Top GPU compute users" %}

$(document).ready(function () { $('#gpucompute').DataTable({ "paging": false, - "order": [[ 1, "desc" ]], + "order": [[ 2, "desc" ]], columns: [ { }, { }, diff --git a/top/templates/top/largemem.html b/top/templates/top/largemem.html index efb068b..053e5d6 100644 --- a/top/templates/top/largemem.html +++ b/top/templates/top/largemem.html @@ -90,7 +90,7 @@

{% translate "Users on largemem" %}

$('#largemem').DataTable({ "paging": false, - "order": [[ 5, "desc" ]], + "order": [[ 6, "desc" ]], columns: [ { }, { },