﻿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
5699	Generic views' page_range values incomparable to (current) page integer	Simon Litchfield <simon@…>	nobody	"Consider this typical example --

<div class=""pagenav"">
    Page
    {% for p in page_range %}
    <a href=""{{ url }}{{ p }}/""{% ifequal page p %} class=""sel""{% endifequal %}>{{ p }}</a>
    {% endfor %}
    {% if next_page %}
    <a href=""{{ url }}{{ next_page }}/"">Next</a>
    {% endif %}
</div>

Ooops, doesn't work! Ifequal doesn't seem to be able to compare the current page (integer) to variables in the page_range list.

Aside, it seems type handling can be unnecessarily tedious at times, particularly when using things like Decimal."		closed	Generic views	dev		invalid			Unreviewed	0	0	0	0	0	0
