inbo / reporting-rshiny-grofwildjacht

Rshiny app for grofwildjacht
https://grofwildjacht.inbo.be/
MIT License
1 stars 1 forks source link

[BUG] Graph open with leeftijdcategorie according to INBO instead of according to meldingsformulier #467

Closed SanderDevisscher closed 7 months ago

SanderDevisscher commented 8 months ago

Describe the bug When you open graphs with age category as parameter, it opens with the more detailed categories according to INBO in the filter field while the data is filtered according to the categories of the meldingsformulier. This results in a graph with only 3 categories (Overloper, Adult & Onbekend) being displayed while 4 are expected (+ Frisling) or 5 (+ Frisling (<6m) & Frisling (>6m)).

To Reproduce Steps to reproduce the behavior:

  1. Go to 'faunabeheer.inbo.be'
  2. Scroll down to 'FIGUUR: Verdeling afschot over de jaren'
  3. See error

Expected behavior The graph opens with the age categories from the meldingsformulier in the filter. These categories are also displayed on the graph.

Screenshots image

Additional context Also on PRD. Changing the datasource fixes the issue. Also an issue with FIGUUR: Leeggewicht per leeftijdscategorie en geslacht (INBO of Meldingsformulier)

Git SHA (after 0.3.1) 253e3d65227d4da71cb306553e5c2eb126dbf1d0