#35198: Facet filters crash for queryset with no ID.
-------------------------------------+-------------------------------------
Reporter: Simon Alef | Owner: Shafiya
| Adzhani
Type: Bug | Status: assigned
Component: contrib.admin | Version: 5.0
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Shafiya Adzhani):
Replying to [comment:5 Thomas Feldmann]:
> Hey, thanks a lot for tackling this! You're right, for this reproducer a
RelatedFieldListFilter would be the way to go.
> For the reproducer we stripped some business logic where we are
annotating and filtering on the queryset, so I think we have to go with
subclassing a SimpleListFilter here.
ah, I understand. After I look at the reproducer, this reproducer intended
to make categories like "ACTIVE" and "-" (not defined, data that are not
in "ACTIVE"), right?
--
Ticket URL: <https://code.djangoproject.com/ticket/35198#comment:6>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/0107018db74cc47e-4a19038c-dbb7-4c04-8b65-c2f3d0fb3b96-000000%40eu-central-1.amazonses.com.