SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 2825c61c authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Add link

parent 7d98c995
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,7 @@
{% empty %}
<li><em>No match found for your search query.</em></li>
{% endfor %}
<a href="{% url 'journals:publications' %}?journal={{ journal.name }}" class="btn btn-link">See all Publications in {{ journal }}</a>
</ul>
</div>
<div class="tab-pane pt-4" id="accepted" role="tabpanel" aria-labelledby="accepted-tab">
......
......@@ -70,6 +70,9 @@ class PublicationListView(PaginationMixin, ListView):
def get_queryset(self):
qs = super().get_queryset()
if self.request.GET.get('journal'):
qs = qs.for_journal(self.request.GET['journal'])
if self.request.GET.get('issue'):
try:
issue = int(self.request.GET['issue'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment