﻿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
13775	Clarify in docs that filters don't work in ifequal	jogwen	nobody	"Can you please make it a bit more explicit in http://docs.djangoproject.com/en/1.0/ref/templates/builtins/#ifequal that ifequal cannot evaluate its arguments - I just wasted several hours (and created several custom filters) trying to work out why 

ifequal request.GET.ds_doc_type type.id|toUnicode

always evaluates to False when 

{{request.GET.ds_doc_type}}({{request.GET.ds_doc_type|getType}})
and 
{{type.id|toUnicode}}({{type.id|toUnicode|getType}})

looked identical when rendered to the screen.

I've now written a custom filter to do the equality check and am using it in an 'if' which seems to work ok.

Many Thanks,

Jo"		closed	Documentation	1.0		wontfix	ifequal filter		Unreviewed	0	0	0	0	0	0
