﻿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
16297	unexpected behavior with make_list filter	ned	teraom	"When using the make_list filter I would expect the following code to print 'foo' on the first iteration. But the conditional fails.

{{{
{% for i in 12345|make_list %}
{{i}}:
{% if 1 == i %}foo{% endif %}
{% endfor %}
}}}

Forcing the variable i to be an int with the following hack makes it work, but from reading the make_list documentation I thought it should already be an integer.

{{{
{% if 1 == i|add:0 %}foo{% endif %}
}}} 

Am I missing something about the limitations of conditionals in the templating system?"	Bug	closed	Documentation	dev	Normal	fixed			Ready for checkin	1	0	0	0	1	0
