Opened 89 minutes ago
#37058 new Uncategorized
_facets query parameters doubled on filter click
| Reported by: | Zbynek Konecny | Owned by: | |
|---|---|---|---|
| Component: | Uncategorized | Version: | 6.0 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
To reproduce
- navigate to an admin page listing entities of a given type that contains filters, in my case
https://dev.geogebra.net/ggbtrans/admin/properties/property/ - click "Show counts", URL becomes
https://dev.geogebra.net/ggbtrans/admin/properties/property/?_facets=True(so far so good) - click one option in one of the filters
Actual
- URL becomes
https://dev.geogebra.net/ggbtrans/admin/properties/property/?_facets=True&_facets=True&category__id__exact=15
Expected
- URL becomes
https://dev.geogebra.net/ggbtrans/admin/properties/property/?_facets=True&category__id__exact=15
Note
The number of extra URL parameters does not increase by 1 on each click, but it doubles, so if you browse through ~10 categories, you'll get a "URL too long" error page
Environment
Django 6.0.4 running via uwsgi 2.0.31 with an NGinX proxy
Note:
See TracTickets
for help on using tickets.