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:
parent
802e9d21d4
commit
52779e4347
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue