summaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/templates
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-06-29 18:04:48 -0700
committerBryan Newbold <bnewbold@archive.org>2020-06-29 18:04:50 -0700
commit25f501d2c655640a981d8727b7c278e81e08449f (patch)
tree1d0b5569931e6887a57cbd8359e299381be44ad3 /fatcat_scholar/templates
parent097a7715cbe8ac43d18fe2755962ba52edb9a4ae (diff)
downloadfatcat-scholar-25f501d2c655640a981d8727b7c278e81e08449f.tar.gz
fatcat-scholar-25f501d2c655640a981d8727b7c278e81e08449f.zip
un-collapse only to same issue, not uncollapse-all-hits
This is user expecation, and was a lingering TODO with initial implementation.
Diffstat (limited to 'fatcat_scholar/templates')
-rw-r--r--fatcat_scholar/templates/search_macros.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html
index dd7c1e8..4c0b1de 100644
--- a/fatcat_scholar/templates/search_macros.html
+++ b/fatcat_scholar/templates/search_macros.html
@@ -156,7 +156,7 @@
{# ### COLLAPSED HITS #}
{% if paper._collapsed_count > 0 %}
<div style="padding-top: 0.5em;">
- <button class="ui compact basic blue button" form="search_form" type="submit" name="collapse_pages" value="false">
+ <button class="ui compact basic blue button" form="search_form" type="submit" name="collapse_key" value="{{ paper.collapse_key }}">
<i class="ui icon zoom-in"></i>
Show {{ paper._collapsed_count }} additional hits from this issue
</button>