All annotation settings get lost when "Clear(ing) all filters"
The "clear all filters" action wrongly looses all annotation settings even though many of them are still valid and must be kept. Only the annotation settings related to the current visible filter value selections, except for the FREQ dimension, are to be cleared.
Example
https://de-qa.siscc.org/vis?lc=en&df[ds]=qa%3Astable&df[id]=DSD_DEBT_TRANS_DDOWN%40DF_AGG&df[ag]=OECD.DAF&df[vs]=1.0&av=true&pd=2020%2C&dq=........_T.&ly[cl]=TIME_PERIOD&ly[rs]=REF_AREA&vw=tb:
Related annotation settings:
0: {type: "NonProductionDataflow", text: "true", texts: {en: "true"}}
1: {id: "@SDMX", title: "CURRENCY", type: "LAYOUT_ROW"}
2: {id: "@SDMX", title: "TIME_PERIOD,FREQ", type: "LAYOUT_COLUMN"}
3: {id: "@SDMX", title: "REF_AREA", type: "LAYOUT_ROW_SECTION"}
4: {id: "@SDMX", title: "DD_DIM", type: "DRILLDOWN"}
5: {id: "@SDMX",…}
id: "@SDMX"
title: "TIME_PERIOD,FIN_TYPE,CURRENCY,INTEREST_RATE,INTEREST_RATE_TYPE,FREQ,TRANS_REPAY,GRACE_PERIOD,REPAY_PROFILE_TIME,RECIPIENT,GUARANTOR_NAME,GUARANTOR_BENEF,TRANS_INSUR,CREDIT_PROV,LEAD_PROV,AMORT_FREQ"
type: "DRILLDOWN_CONCEPTS"
6: {id: "@SDMX", title: "DD_ID", type: "NOT_DISPLAYED"}
7: {id: "@SDMX", title: "TIME_PERIOD_START=2000,FREQ=M,DD_DIM=_T", type: "DEFAULT"}
8: {title: "4000", type: "MAXTEXTATTRIBUTELENGTH"}
When "Clear all filters" is clicked, then all annotation settings get wrongly lost: Some dimensions are displayed while they should not appear. The microdata are mixed with the aggregated data because the microdata settings get lost.
The expectation is to keep all annotations settings except those related to the current visible filter value settings (related to DEFAULT annotation). E.g. the microdata dimension settings must be kept, so that the microdata content is still appropriate.
- Structure file: OECD.DAF-DSD_DEBT_TRANS_DDOWN_DF_AGG-1.0-all__2_.xml
- Data file: OECD.DAF-DSD_DEBT_TRANS_DDOWN_DF_AGG-1.0-data__1_.csv