Allow setting a default TIME_PERIOD dimension sort order
As Frederic
I want to define a default sort order of the TIME_PERIOD time dimension at different levels
So that the default sorting order corresponds to the cultural standard of the target users or to requirements linked to the nature of the data in order to easy comprehension and guide the user to the likely most important data.
Functional specifications
Currently the default behaviour to display the TIME_PERIOD dimension is the ascending sort order. Alternatively, it should be possible to define a descending sort order at different levels:
- for a whole DE instance
- for a whole data space
- for all dataflows of a DSD
- for a dataflow
Each next level would overwrite the default of the previous level.
The configuration should be feasible through:
- DE instance: configuration item in data-explorer's settings.json
data space: configuration item in tenants.json- DSD: annotation of type "LAYOUT_TIME_PERIOD_DESC"
- dataflow: annotation of type "LAYOUT_TIME_PERIOD_DESC"
First sample file with a DSD with the annotation of type LAYOUT_TIME_PERIOD_DESC
+ 2 related dataflows without the annotation: OECD.SDD-NAMAIN_T0101_Q_TEST_JB-WithDSDAnnotation.zip
Second sample file with a DSD without any annotation + 2 related dataflows and one only with the annotation of type LAYOUT_TIME_PERIOD_DESC
: OECD.SDD-NAMAIN_T0101_Q_TEST_JB-WithDataflowAnnotation.zip