#37058: _facets query parameters doubled on filter click
--------------------------------+-----------------------------------------
Reporter: Zbynek Konecny | Type: Uncategorized
Status: new | Component: Uncategorized
Version: 6.0 | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------+-----------------------------------------
**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
--
Ticket URL: <https://code.djangoproject.com/ticket/37058>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019db4e8127e-1789829c-7292-42de-b4ae-81ba9d7724cb-000000%40eu-central-1.amazonses.com.