visualize-admin / visualization-tool

The tool for visualizing Swiss Open Government Data. Project ownership: Federal Office for the Environment FOEN
https://visualize.admin.ch
BSD 3-Clause "New" or "Revised" License
30 stars 3 forks source link

Cascading Filter does not work with "Swiss PRTR (Test03)" #328

Closed ortnever closed 2 years ago

ortnever commented 2 years ago

@ptbrowne : il s'agit du bug communiqué par Email le 28.01.

Filtre en cascade ne fonctionne pas pour PRTR (Test03)"

Steps to reproduce the behavior:

  1. Rechercher PRTR via test.visualize, y compris Draft
  2. Ouvrir « Registre suisse des rejets et transferts de polluants Swiss PRTR (Test03) »
  3. Choisir Bar chart (pas de données, pour l’ordre des filtres affichés par défaut)
  4. Choisir Etablissement comme segmentation (couleurs) et Modifier l’ordre des filtres comme printscreen ci-dessous
  5. Un graphique s’affiche par défaut
  6. Modifier le polluant et choisir "Chloride"
  7. Pas de données, alors qu’il en existe si on choisit comme activité « nicht aufgeschlüsselt ».

Expected behavior la valeur "nicht aufgeschlüsselt" devrait être sélectionnée automatiquement dans le filtre "Activité principale" et des données seraient ainsi disponibles

image

image

image

ptbrowne commented 2 years ago

Thanks for the report Véronique, I was not able to work on it before. I can reproduce correctly. I think I can improve the filter selection, and will work on this today. At the same time I think we can see that the current cascading filters do improve the existing product and that the functional bug that you describe would have been even harder to solve with the current production filters. In this sense, I think this bug should not block a production deploy as it its criticity is not IMHO high since:

sosiology commented 2 years ago