Skip to content

Commit

Permalink
Merge pull request #347 from mdzik/mdzik-project-archived-easier
Browse files Browse the repository at this point in the history
Forward filter parameters between Active-Archived projects search pages
  • Loading branch information
aebruno committed Jan 11, 2022
2 parents a9d04e4 + 1f9308e commit e696d89
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 e696d89

Please sign in to comment.