LSsearch : fix sorting by extraDisplayedColumns (on one setParams() call)

This commit is contained in:
Benjamin Renard 2020-04-29 19:19:40 +02:00
parent 58fba457f5
commit c1bcad362d

View file

@ -359,6 +359,11 @@ class LSsearch {
}
}
// Extra Columns
if (isset($params['extraDisplayedColumns'])) {
$this -> params['extraDisplayedColumns']=(bool)$params['extraDisplayedColumns'];
}
// Sort Limit
if (isset($params['sortlimit'])) {
if (is_int($params['sortlimit']) && $params['sortlimit']>=0 ) {
@ -473,11 +478,6 @@ class LSsearch {
}
}
// Extra Columns
if (isset($params['extraDisplayedColumns'])) {
$this -> params['extraDisplayedColumns']=(bool)$params['extraDisplayedColumns'];
}
// predefinedFilter
if (isset($params['predefinedFilter'])) {
if (is_string($params['predefinedFilter'])) {