Merged in bugfix/PMCORE-3955 (pull request #8545)
PMCORE-3955 When a Custom case list is reordered the Table Settings is not reset Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
@@ -213,10 +213,7 @@ class CaseList extends Model
|
||||
if (!property_exists($uscSetting->{$type}->customCaseList, $calId)) {
|
||||
continue;
|
||||
}
|
||||
if (!property_exists($uscSetting->{$type}->customCaseList->{$calId}, 'columns')) {
|
||||
continue;
|
||||
}
|
||||
$uscSetting->{$type}->customCaseList->{$calId}->columns = ['detail', 'actions'];
|
||||
unset($uscSetting->{$type}->customCaseList->{$calId});
|
||||
UserConfig::editSetting($userConfig->USR_ID, 'userConfig', (array) $uscSetting);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user