Use the configured display size when selected or expanded row are defined

This ensure that we store on the view the selected/expanded rows by displaying
them after a reload.

Closes #14048
This commit is contained in:
Cédric Krier
2025-06-01 12:49:28 +02:00
parent eb7336c1c4
commit 733df9d2dd
+5
View File
@@ -888,6 +888,11 @@
this.display_size = Sao.config.display_size;
}
}
if (!this.display_size &
(!jQuery.isEmptyObject(selected) ||
!jQuery.isEmptyObject(expanded))) {
this.display_size = Sao.config.display_size;
}
let display_size = this.display_size || 0;
var current_record = this.record;
if (jQuery.isEmptyObject(selected) && current_record) {