django
django copied to clipboard
Fixes #34566 - ModelAdmin get_field_queryset uses related admin ordering, but not related admin querysets.
Fix issues if related_admin has annotations in get_queryset that are used in ordering.
See #34566 for a better explanation.