Opened 5 years ago

Closed 5 years ago

#30703 closed Bug (duplicate)

Make RelatedFieldListFilter respect model meta ordering.

Reported by: Sviatoslav Abakumov Owned by: nobody
Component: contrib.admin Version: 2.2
Severity: Normal Keywords: filter
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The Django admin list filter stopped using the model meta ordering after the pull request for #29835 got merged. If there's no ModelAdmin.ordering set, the order of related choices will be reset.

Change History (3)

comment:1 by Sviatoslav Abakumov, 5 years ago

comment:2 by Mariusz Felisiak, 5 years ago

Summary: Make RelatedFieldListFilter respect model meta orderingMake RelatedFieldListFilter respect model meta ordering.

Thanks for the report, it's a duplicate of #30449. I bumped it to a release blocker.

comment:3 by Mariusz Felisiak, 5 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top