aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/templates/search_macros.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-01-22 11:17:42 -0800
committerBryan Newbold <bnewbold@archive.org>2021-01-22 11:17:42 -0800
commit60b031925e86ff0a408b683e91ade54156cad64f (patch)
tree40322796e46fe4a1f6c68c9aed0659ab8c1da961 /fatcat_scholar/templates/search_macros.html
parenta38b226a03010e055d7d1d6c5928827adefc5a04 (diff)
downloadfatcat-scholar-60b031925e86ff0a408b683e91ade54156cad64f.tar.gz
fatcat-scholar-60b031925e86ff0a408b683e91ade54156cad64f.zip
for lookup (direct) and permalink queries, auto-expand result
Diffstat (limited to 'fatcat_scholar/templates/search_macros.html')
-rw-r--r--fatcat_scholar/templates/search_macros.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html
index fb7068e..1fbfde6 100644
--- a/fatcat_scholar/templates/search_macros.html
+++ b/fatcat_scholar/templates/search_macros.html
@@ -169,11 +169,11 @@
{% endif %}
{% endmacro %}
-{% macro fulltext_search_result_row(paper, locale=None, debug_mode=False) -%}
+{% macro fulltext_search_result_row(paper, locale=None, debug_mode=False, expand=False) -%}
<div class="ui stackable doubling grid">
<div class="thirteen wide column biblio-record">
-<details class="access-options">
+<details class="access-options" {% if expand %}open{% endif %}>
<summary>
{# ### TITLE ROW #}
<h3 class="biblio-title">