summaryrefslogtreecommitdiffstats
path: root/askbot/skins/default/templates/widgets/scope_nav.html
diff options
context:
space:
mode:
Diffstat (limited to 'askbot/skins/default/templates/widgets/scope_nav.html')
-rw-r--r--askbot/skins/default/templates/widgets/scope_nav.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/askbot/skins/default/templates/widgets/scope_nav.html b/askbot/skins/default/templates/widgets/scope_nav.html
index e95f0c1d..5f7cc158 100644
--- a/askbot/skins/default/templates/widgets/scope_nav.html
+++ b/askbot/skins/default/templates/widgets/scope_nav.html
@@ -1,11 +1,11 @@
{% if active_tab != "ask" %}
<a class="scope-selector {% if scope == 'all' %}on{% endif %}"
- href="{% url questions %}{{ query_string|replace_in_url("section:all")|replace_in_url("sort:activity-desc") }}" title="{% trans %}see all questions{% endtrans %}">{% trans %}ALL{% endtrans %}</a>
+ href="{% url questions %}?scope=all" title="{% trans %}see all questions{% endtrans %}">{% trans %}ALL{% endtrans %}</a>
<a class="scope-selector {% if scope == 'unanswered' %}on{% endif %}"
- href="{% url questions %}{{ query_string|replace_in_url("section:unanswered")|replace_in_url("sort:answers-asc") }}" title="{% trans %}see unanswered questions{% endtrans %}">{% trans %}UNANSWERED{% endtrans %}</a>
+ href="{% url questions %}?scope=unanswered&amp;sort=answers-asc" title="{% trans %}see unanswered questions{% endtrans %}">{% trans %}UNANSWERED{% endtrans %}</a>
{% if request.user.is_authenticated() %}
<a class="scope-selector {% if scope == 'favorite' %}on{% endif %}"
- href="{% url questions %}{{ query_string|replace_in_url("section:favorite") }}" title="{% trans %}see your followed questions{% endtrans %}">{% trans %}FOLLOWED{% endtrans %}</a>
+ href="{% url questions %}?scope=favorite" title="{% trans %}see your followed questions{% endtrans %}">{% trans %}FOLLOWED{% endtrans %}</a>
{% endif %}
{% else %}
<div class="scope-selector ask-message">{% trans %}Please ask your question here{% endtrans %}</div>