Browse Source

Sort sync jobs DataTable based on ID

By setting the default column to perform the sort on, the additional
sort option for the first (hidden) column is also removed.
Tom Udding 2 years ago
parent
commit
690c34bc1d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      data/web/js/site/mailbox.js

+ 1 - 0
data/web/js/site/mailbox.js

@@ -1908,6 +1908,7 @@ jQuery(function($){
       processing: true,
       processing: true,
       serverSide: false,
       serverSide: false,
       language: lang_datatables,
       language: lang_datatables,
+      order:[[2, 'desc']],
       ajax: {
       ajax: {
         type: "GET",
         type: "GET",
         url: "/api/v1/get/syncjobs/all/no_log",
         url: "/api/v1/get/syncjobs/all/no_log",