Skip to content

Commit

Permalink
Fixing the default sorting by column modified in 68dffae
Browse files Browse the repository at this point in the history
  • Loading branch information
guilbaults committed Jun 17, 2024
1 parent 7b410a3 commit 5d576b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion top/templates/top/compute.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h1>{% translate "Top compute users" %}</h1>
$(document).ready(function () {
$('#compute').DataTable({
"paging": false,
"order": [[ 1, "desc" ]],
"order": [[ 2, "desc" ]],
columns: [
{ },
{ },
Expand Down
2 changes: 1 addition & 1 deletion top/templates/top/gpucompute.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ <h1>{% translate "Top GPU compute users" %}</h1>
$(document).ready(function () {
$('#gpucompute').DataTable({
"paging": false,
"order": [[ 1, "desc" ]],
"order": [[ 2, "desc" ]],
columns: [
{ },
{ },
Expand Down
2 changes: 1 addition & 1 deletion top/templates/top/largemem.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ <h1>{% translate "Users on largemem" %}</h1>

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

0 comments on commit 5d576b4

Please sign in to comment.