Bug 32030: Sort on first column

Signed-off-by: Jonathan Field <jonathan.field@ptfs-europe.com>

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2022-05-23 11:31:30 +02:00 committed by Tomas Cohen Arazi
parent 802e9d21d4
commit 52779e4347
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
3 changed files with 5 additions and 5 deletions

View File

@ -105,9 +105,9 @@ export default {
"ajax": {
"url": agreements_table_url,
},
"order": [[1, "asc"]],
"order": [[0, "asc"]],
"columnDefs": [{
"targets": [0, 2],
"targets": [0,2],
"render": function (data, type, row, meta) {
if (type == 'display') {
return escape_str(data)

View File

@ -56,7 +56,7 @@ export default {
"ajax": {
"url": licenses_table_url,
},
"order": [[1, "asc"]],
"order": [[0, "asc"]],
"columnDefs": [{
"targets": [0, 1],
"render": function (data, type, row, meta) {

View File

@ -94,9 +94,9 @@ export default {
"ajax": {
"url": packages_table_url,
},
"order": [[1, "asc"]],
"order": [[0, "asc"]],
"columnDefs": [{
"targets": [0, 2],
"targets": [0],
"render": function (data, type, row, meta) {
if (type == 'display') {
return escape_str(data)