Merge pull request #4 from franknstayn/local_dev

added "size" column on download report in csv and excel
This commit is contained in:
franknstayn
2019-11-15 21:05:31 +08:00
committed by GitHub

View File

@@ -662,7 +662,7 @@
{
extend: 'csv',
exportOptions: {
columns: [ 0, 1, 2, 3, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 ]
columns: [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 ]
},
className : "btn btn-default",
text: "<i class=\"fa fa-table\"></i> CSV",
@@ -673,7 +673,7 @@
{
extend: 'excel',
exportOptions: {
columns: [ 0, 1, 2, 3, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 ]
columns: [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 ]
},
className : "btn btn-default",
text: "<i class=\"fa fa-file-excel-o\"></i> Excel",