Use the column order stored in localStorage during the initial datatables ajax call.

This way we still have the right ordering when changing pages. This fixes issue #345
This commit is contained in:
Jan Böhmer 2023-08-20 00:41:44 +02:00
parent 73d61f7440
commit e66ff40733
2 changed files with 22 additions and 3 deletions

View file

@ -47,7 +47,8 @@
method: config.method,
data: {
_dt: config.name,
_init: true
_init: true,
order: config.initial_order ?? undefined,
}
}).done(function(data) {
var baseState;