Skip to content

Commit

Permalink
Forward filter parameters between Active-Archived projects searches
Browse files Browse the repository at this point in the history
  • Loading branch information
mdzik committed Jan 5, 2022
1 parent f282f4e commit 1f9308e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class="card mb-3 bg-light">
<div class="card-body">
<div class="float-left">
<a class="btn btn-primary" href="{% url 'project-list' %}" role="button"><i class="fas fa-arrow-left" aria-hidden="true"></i> Back to active projects</a>
<a class="btn btn-primary" href="{% url 'project-list' %}?{{filter_parameters}}" role="button"><i class="fas fa-arrow-left" aria-hidden="true"></i> Back to active projects</a>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion coldfront/core/project/templates/project/project_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{% if user.userprofile.is_pi or user.is_superuser %}
<a class="btn btn-primary" href="{% url 'project-create' %}" role="button"><i class="fas fa-plus" aria-hidden="true"></i> Add a project</a> {% endif %}
<div class="float-right">
<a class="btn btn-primary" href="{% url 'project-archived-list' %}" role="button"><i class="fas fa-archive" aria-hidden="true"></i> View archived projects</a>
<a class="btn btn-primary" href="{% url 'project-archived-list' %}?{{filter_parameters}}" role="button"><i class="fas fa-archive" aria-hidden="true"></i> View archived projects</a>
</div>
</div>
</div>
Expand Down

0 comments on commit 1f9308e

Please sign in to comment.