Fixes Issue #142 - invalid pagination URLs. Thanks to Walter Doekes for

the patch.
This commit is contained in:
Ross Poulton 2010-07-16 07:51:33 +00:00
parent f51eabeae8
commit 8fb32a33bc
2 changed files with 5 additions and 2 deletions

View File

@ -50,3 +50,6 @@ be deleted. Thanks again to lukeman.
2010-01-31 r155 Fix bug caused by issue #129 - ticket followup titles being
set incorrectly. Thanks to Lukeman for the fix.
2010-07-16 r157 Fix issues #141, #142 - IMAP infinite loops and ticket
pagination issues. Thanks to Walter Doekes for the patches.

View File

@ -200,7 +200,7 @@ $(document).ready(function() {
<div class="pagination">
<span class="step-links">
{% if tickets.has_previous %}
<a href="?{{ query_string }}{% if query_string %}&{% else %}?{% endif %}page={{ tickets.previous_page_number }}">{% trans "Previous" %}</a>
<a href="?{% if query_string %}{{ query_string }}&amp;{% endif %}page={{ tickets.previous_page_number }}">{% trans "Previous" %}</a>
{% endif %}
<span class="current">
@ -208,7 +208,7 @@ $(document).ready(function() {
</span>
{% if tickets.has_next %}
<a href="?{{ query_string }}{% if query_string %}&{% else %}?{% endif %}page={{ tickets.next_page_number }}">{% trans "Next" %}</a>
<a href="?{% if query_string %}{{ query_string }}&amp;{% endif %}page={{ tickets.next_page_number }}">{% trans "Next" %}</a>
{% endif %}
</span>
</div>