Support for sorting by ascending popularity remains in the
back end, however, since if one's configured badges such that
almost every record has a badge score, that sort order could
be useful for examining the long tail of the collection.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
</optgroup>
<optgroup label='[% l("Sort by Popularity") %]'>
<option value='popularity'[% value == 'popularity' ? ' selected="selected"' : '' %]>[% l("Most Popular") %]</option>
+<!-- Sorting by least popular items first is probably not an expected
+ choice in production, but could be useful in cases where every
+ record has at least one badge value assigned and you want
+ to investigate the long tail.
+-->
+<!--
<option value='popularity.descending'[% value == 'popularity.descending' ? ' selected="selected"' : '' %]>[% l("Least Popular") %]</option>
+-->
<option value='poprel'[% value == 'poprel' ? ' selected="selected"' : '' %]>[% l("Popularity Adjusted Relevance") %]</option>
</optgroup>
</select>