aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-10-03 14:28:03 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-10-03 14:28:03 -0700
commitac4dc819ef4cd2daa6ebd525f7400774d5589a45 (patch)
tree06aa4ddc25c705c3cc504eddde8f34d15466e023
parente541d76afaf986744165aed9c3f5a340dc0b62e8 (diff)
downloadfatcat-ac4dc819ef4cd2daa6ebd525f7400774d5589a45.tar.gz
fatcat-ac4dc819ef4cd2daa6ebd525f7400774d5589a45.zip
preview: direct link to release (not DOI lookup)
-rw-r--r--python/fatcat/templates/release_search.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat/templates/release_search.html b/python/fatcat/templates/release_search.html
index c57ad149..34a96064 100644
--- a/python/fatcat/templates/release_search.html
+++ b/python/fatcat/templates/release_search.html
@@ -22,7 +22,7 @@
<i>Showing top {{ found.count_returned }} out of {{ found.count_found }} results for: <code>{{ found.query.q }}</code></i>
{% for paper in found.results %}
<div>
- <h4 style="margin-top: 1em; margin-bottom: 4px; font-size: 1.1em;"><a href="/release/lookup?doi={{ paper.doi }}" style="color: #2224c7;">{{ paper['title'] }}</a>
+ <h4 style="margin-top: 1em; margin-bottom: 4px; font-size: 1.1em;"><a href="/release/{{ paper.ident }}" style="color: #2224c7;">{{ paper['title'] }}</a>
{% if paper.file_pdf_url %}
&nbsp;&nbsp;<a href="{{ paper.file_pdf_url }}" class="ui label small"><i class="file icon"></i>fulltext</a>
{% endif %}