You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When visiting the around view (by searching from the home page), I see fewer states in the "Show" dropdown (Open, Closed, Fixed, etc.) compared to the same dropdown in the report view (going through All reports).
This does not happen when logged in as an admin, but it does happen when logged in as a body user.
To Reproduce
Steps to reproduce the behavior:
Log in as a body user (not an admin)
Use the search functionality on the home page to go to the "around" view
Note the states in the "Show" dropdown
Expected behavior
The same report filters are always shown no matter how body users get to the report lists (be it via the around view or the report view).
Desktop (please complete the following information):
OS: All systems
Browser All browsers
Version All versions
Additional context
When body users submit updates via the report view (All reports), and then click the link to see the report, the users end up in the around view. When this happens, users may not be able to filter the way they want to due to this issue.
The text was updated successfully, but these errors were encountered:
On a reports page, we easily know the body involved so we can check the staff user belongs to the relevant body in order to show all states (this check is in the first line of templates/web/base/reports/_list-filter-status.html). On an around page, that information isn't currently looked up, so it only shows Open/Closed/Fixed. It looks like the Around.pm code does look up bodies (covering the centre point of the map, anyway) in order to work out what categories it can show (in case any staff only ones), so I imagine it should be able to somehow do a check there for what states to show as well.
Describe the bug
When visiting the around view (by searching from the home page), I see fewer states in the "Show" dropdown (Open, Closed, Fixed, etc.) compared to the same dropdown in the report view (going through All reports).
This does not happen when logged in as an admin, but it does happen when logged in as a body user.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The same report filters are always shown no matter how body users get to the report lists (be it via the around view or the report view).
Desktop (please complete the following information):
Additional context
When body users submit updates via the report view (All reports), and then click the link to see the report, the users end up in the around view. When this happens, users may not be able to filter the way they want to due to this issue.
The text was updated successfully, but these errors were encountered: