Added missing DataTables option (fixes #2494)

This commit is contained in:
Bernd Bestel 2024-03-13 22:05:05 +01:00
parent 9c123bd92a
commit affa7c41a1
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300
2 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,7 @@
- Optimized that file uploads are not completely buffered in memory before writing them to disk (thanks @bbx0)
- Optimized top right corner menus icon spacing (thanks @TheDodger for the initial work on this)
- Fixed again that some dialogs were not properly (too small) displayed (this time mostly affecting Chrome/Edge)
- Fixed that table states (visible columns, sorting, column order and so on) could be reset to default after not accessing/using the corresponding page for a certain amount of time
### API

View File

@ -8,6 +8,7 @@ $.extend(true, $.fn.dataTable.defaults, {
'scrollX': true,
'colReorder': true,
'stateSave': true,
'stateDuration': 0,
'stateSaveParams': function(settings, data)
{
data.search.search = "";