-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
None
-
Not defined
Context:
We have implemented some changes with OPT-4485 to keep the report configuration when switching definitions in the report builder. This also includes the column selection. Here, the state of the "Include new variables" checkbox seems to influence behaviour when switching definitions, which might not be intuitive for the user. When switching definitions while this checkbox is false, none of the variable columns of the new definitions that were not present in the old definition are selected. Similarly, when switching while the checkbox is true, all variable columns of the new definition are selection. This is not affected by whether or not any of the columns were previously selected.
To reproduce:
- Create raw data report
- Open config and deselect "include new variables" checkbox, keep all variable columns selected
- Switch to a different definition which has different variables
- Observe that all variable columns have been deselected
- Switch back to the original definition
- Observe that all variable columns have been deselected
The opposite behaviour occurs when the checkbox in step 2 is selected: it can be observed that even when unselecting all variable columns, after switching definitions all variable columns will be selected again.
I have also attached a gif to illustrate the described behaviour.
AT:
- Evaluate if the current logic is appropriate or whether it needs adjusting and adjust if needed