﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
2679	Admin.ordering isn't working for edit_inline ForeignKey fields	treborhudson@…	nobody	"Note: I've only tested this with ""backward"" foreign keys.  This does work with Meta.ordering but I don't want this ordering to happen on queries outside of the admin so I moved the ordering property to the ""class Admin"" and the ordering isn't working.  I've verified that the SQL queries are not adding the ""ORDER BY"" clause by adding this to the admin base.html template:

<!-- SQL Queries -->
<!--
{% for s in sql_queries %}
SQL: {{ s.sql }}
TIME: {{ s.time }}
{% endfor %}
// -->

If a test case is needed I could provide a simple model for this.
"	Bug	closed	contrib.admin		Normal	fixed			Accepted	0	0	0	0	0	0
