From 1f0f8cbeae2ff5075029bfd54dd042d1697c17d6 Mon Sep 17 00:00:00 2001 From: Ricardo Ribeiro Date: Tue, 16 May 2017 14:49:15 +0100 Subject: [PATCH] Add full torrent name to link "title" Now on ElasticSearch results as well --- nyaa/templates/search_results.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nyaa/templates/search_results.html b/nyaa/templates/search_results.html index b73994c..92608c7 100644 --- a/nyaa/templates/search_results.html +++ b/nyaa/templates/search_results.html @@ -60,9 +60,9 @@ {% if use_elastic %} - {%if "highlight" in torrent.meta %}{{ torrent.meta.highlight.display_name[0] | safe }}{% else %}{{torrent.display_name}}{%endif%} + {%if "highlight" in torrent.meta %}{{ torrent.meta.highlight.display_name[0] | safe }}{% else %}{{torrent.display_name}}{%endif%} {% else %} - {{ torrent.display_name | escape }} + {{ torrent.display_name | escape }} {% endif %} {% if torrent.has_torrent %}{% endif %}