diff options
| author | luccioman <luccioman@users.noreply.github.com> | 2017-10-09 14:13:46 +0200 |
|---|---|---|
| committer | luccioman <luccioman@users.noreply.github.com> | 2017-10-09 14:13:46 +0200 |
| commit | dbff7b14fcc405d8b8ab75e1d784595459ae00c1 (patch) | |
| tree | 66d6b114e640b7dad23f7dbfd21b1ad3e4967b6f /htroot/ConfigSearchPage_p.html | |
| parent | f8c7d0265e169be435df4f922f91143b6ce28e99 (diff) | |
Add a configurable limit to tags initially displayed in search results
When the limit is reached, a button allow expanding/collapsing remaining
tags.
When this feature is activated without a limit to the number of
displayed tags, when encountering search results with a very large
number of keywords, the results page can become almost unusable (very
long vertical scrollbar)
Diffstat (limited to 'htroot/ConfigSearchPage_p.html')
| -rw-r--r-- | htroot/ConfigSearchPage_p.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/htroot/ConfigSearchPage_p.html b/htroot/ConfigSearchPage_p.html index 541e8deab..2d8d54693 100644 --- a/htroot/ConfigSearchPage_p.html +++ b/htroot/ConfigSearchPage_p.html @@ -237,7 +237,13 @@ var solr= $.getJSON("solr/collection1/select?q=*:*&defType=edismax&start=0&rows= <a href="yacysearch.html" id="urlhash" target="LayouTest">http://url-of-the-search-result.net</a> </p> <p class="tags"> - <input type="checkbox" name="search.result.show.keywords" aria-labelledby="tagsTitle" value="true" #(search.result.show.keywords)#::checked="checked" #(/search.result.show.keywords)# /> <span id="tagsTitle">Tags</span>: <span class="tag label label-default">keyword</span> <span class="tag label label-default">subject</span> <span class="tag label label-default">keyword2</span> <span class="tag label label-default">keyword3</span> + <input type="checkbox" name="search.result.show.keywords" aria-labelledby="tagsTitle" value="true" #(search.result.show.keywords)#::checked="checked" #(/search.result.show.keywords)# /> + <span id="tagsTitle">Tags</span>: <span class="tag label label-default">keyword</span> <span class="tag label label-default">subject</span> <span class="tag label label-default">keyword2</span> <span class="tag label label-default">keyword3</span> + <label> + Max. tags initially displayed + <input type="number" name="search.result.keywords.firstMaxCount" value="#[search.result.keywords.firstMaxCount]#" min="1" max="2147483647"/> + (remaining can then be expanded) + </label> </p> <div class="urlinfo"> <table style="border-width:0"> |
