﻿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
10263	order_by parameter for inlineformset_factory and BaseInlineFormSet	Paulo Scardine <paulo@…>	nobody	"== Problem ==

At inlineformset_factory and BaseInlineFormSet constructor there is no option to specify order_by criteria for the resulting queryset. 

The record order at the rendered formset will depend on the order returned by the database layer; notably PostgreSQL may change this order after every update. When using PRG (Post/Redirect/Get) the result is unpleasant and may confuse users.

== Proposed Solution ==

I would like to add an order_by parameter to inlineformset_factory and BaseInlineFormSet.

"		closed	Forms	1.0		fixed	inlineformset_factory BaseInlineFormSet inline model formset	andy@…	Accepted	1	0	0	0	0	0
