Merge pull request #455 from anondev-sudo/patch-3

Table sorting
This commit is contained in:
IceToast 2022-06-16 19:15:46 +02:00 committed by GitHub
commit 1e0a76267e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,7 +72,7 @@
serverSide: true, serverSide: true,
stateSave: true, stateSave: true,
ajax: "{{ route('admin.payments.datatable') }}", ajax: "{{ route('admin.payments.datatable') }}",
order: [[ 9, "asc" ]], order: [[ 9, "desc" ]],
columns: [ columns: [
{data: 'id',name: 'payments.id'}, {data: 'id',name: 'payments.id'},
{data: 'type'}, {data: 'type'},