Data Explorer CategoryScheme facet (Topic) on search result page sometimes doesn't show third level categories
When dataflows are categorised using 3rd-level categories, and the user chooses the 2nd-level parent category from the DE home page, the Topic facet in the search result page is shown but empty. Therefore the user cannot filter between the relevant third-level categories, nor choose another category.
For example, in OECD pre-prod this is part of the category scheme. Economy is level 1:
- Economy
- National accounts
- GDP and non-financial accounts
- Government finances and public sector debt
- Financial accounts and balance sheets
- Supply and use tables
- National accounts
The DE home page looks like this showing the first 2 levels. Ok so far:
Clicking on National accounts shows the full list of dataflows, but the Topic facet doesn’t list anything (notice the clicked chevron next to Topic that should show the level 3 categories, and the Topic of Annual employment... categorisation)
However, if Economy is selected from the landing page then all Topics are shown.
But if National accounts is selected in the Topic facet, the facet’s content disappears once again (same as the second screenshot).
Furthermore, and maybe this is linked, the facet content is sometimes wrong (it misses Economy
in addition to Society
):