﻿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
5756	Any template tag that uses Variable instead of parser.compile_filter does not handle filters.	sneeu	nobody	"On a page with the URL '/account/login/', I would expect the following to work:
{{{
{% ifequal request.path|slice:""9"" ""/account/"" %}Do something for account pages.{% endifequal %}
}}}

As I understand it the underlying code (for ifequal and other template tag) uses resolve_variable so the first argument becomes:
{{{
request.get('path|slice:"":9""')
}}}

Currently a workaround using the 'with' template tag is required:
{{{
{% with request.path|slice:""9"" as path_prefix %}Do something ...{% endwith %}
}}}"		closed	Template system	dev		fixed	tplrf-fixed		Accepted	1	0	1	1	0	0
