﻿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
5833	Custom FilterSpecs	Honza Král	jkocherhans	"One should be able to create custom `FilterSpecs` for the admin's `list_filter` interface.

Honza_Kral: I modified the filterspec definition to allow for users to register their own filters in admin. The mechanism is simple - I just reverted the order of the registry so that newly registered specs will come first. That way if you register your own filter via {{{FilterSpec.register}}}, it will be used before the default one.

Another approach by korpios is described in the comments.
"	Bug	closed	contrib.admin	dev	Normal	fixed	nfa-someday list_filter filterspec nfa-changelist ep2008	Simon Litchfield eallik@… semente@… andreas@… mbencun@… chenyuejie@… djangoproject@… jan.rzepecki@… kmike84@… eandre@… Gonzalo Saavedra ciantic@… rvdrijst eppsilon ramusus@… peimei@… marcoberi@… david@… rmanocha@… sciyoshi@… Odin Hørthe Omdal Sean Legassick Alexander Koshelev Marinho Brandão Dan Fairs timothy.broder@… Michael Manfre internet@… Robin Breathe bendavis78@… 3point2 SafPlusPlus krasniyrus@… subsume@… dirleyrls@… Vitek Pliska Salva Pinyol Simon Charette remco@… rohit.aggarwal@… guandalino	Accepted	1	0	0	0	0	0
