Remove Get Parameter sort_param, where it is not valid (#3447)

This commit is contained in:
Ozzie Isaacs
2026-01-18 16:07:04 +01:00
parent c13eac91c8
commit 8db0d004b6
2 changed files with 11 additions and 11 deletions

View File

@@ -147,7 +147,7 @@
<li class="nav-head hidden-xs">{{_('Browse')}}</li>
{% for element in sidebar %}
{% if current_user.check_visibility(element['visibility']) and element['public'] %}
<li id="nav_{{element['id']}}" {% if page == element['page'] %}class="active"{% endif %}><a href="{{url_for(element['link'], data=element['page'], sort_param='stored')}}"><span class="glyphicon {{element['glyph']}}"></span> {{_(element['text'])}}</a></li>
<li id="nav_{{element['id']}}" {% if page == element['page'] %}class="active"{% endif %}><a href="{% if element['no_param'] %}{{url_for(element['link'])}}{%else%}{{url_for(element['link'], sort_param='stored')}}{% endif %}"><span class="glyphicon {{element['glyph']}}"></span> {{_(element['text'])}}</a></li>
{% endif %}
{% endfor %}
{% if current_user.is_authenticated or g.allow_anonymous %}