diff options
Diffstat (limited to 'fatcat_scholar/templates/search.html')
-rw-r--r-- | fatcat_scholar/templates/search.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fatcat_scholar/templates/search.html b/fatcat_scholar/templates/search.html index e7ccc1b..a4a5ba4 100644 --- a/fatcat_scholar/templates/search.html +++ b/fatcat_scholar/templates/search.html @@ -126,8 +126,9 @@ {% endif %} {# search results (rendered via macro) #} + {% set expand_result = hits.query_type == 'lookup' %} {% for paper in hits.results %} - {{ search_macros.fulltext_search_result_row(paper, locale=locale, debug_mode=query.debug) }} + {{ search_macros.fulltext_search_result_row(paper, locale=locale, debug_mode=query.debug, expand=expand_result) }} {% endfor %} {% if hits.count_found > hits.limit %} |