Add button for sort by relevance
This commit is contained in:
+1
-1
@@ -315,7 +315,7 @@ Copyright (C) 2024-2026 Calibre-Web Automated contributors
|
||||
- zhiyue (1 commits)
|
||||
# Fork Contributors (crocodilestick/calibre-web-automated)
|
||||
|
||||
- crocodilestick (989 commits)
|
||||
- crocodilestick (991 commits)
|
||||
- jmarmstrong1207 (73 commits)
|
||||
- demitrix (30 commits)
|
||||
- sirwolfgang (29 commits)
|
||||
|
||||
@@ -28,6 +28,9 @@
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<div class="filterheader hidden-xs"><!-- ToDo: Implement filter for search results -->
|
||||
{% if page == 'search' %}
|
||||
<a id="relevance" data-toggle="tooltip" title="{{_('Sort by relevance')}}" class="btn btn-primary{% if order == "stored" %} active{% endif%}" href="{{url_for('web.books_list', data=page, sort_param='stored', query=query)}}"><span class="glyphicon glyphicon-search"></span></a>
|
||||
{% endif %}
|
||||
<a id="new" data-toggle="tooltip" title="{{_('Sort according to book date, newest first')}}" class="btn btn-primary{% if order == "new" %} active{% endif%}" href="{{url_for('web.books_list', data=page, sort_param='new', query=query)}}"><span class="glyphicon glyphicon-sort-by-order"></span></a>
|
||||
<a id="old" data-toggle="tooltip" title="{{_('Sort according to book date, oldest first')}}" class="btn btn-primary{% if order == "old" %} active{% endif%}" href="{{url_for('web.books_list', data=page, sort_param='old', query=query)}}"><span class="glyphicon glyphicon-sort-by-order-alt"></span></a>
|
||||
<a id="asc" data-toggle="tooltip" title="{{_('Sort title in alphabetical order')}}" class="btn btn-primary{% if order == "abc" %} active{% endif%}" href="{{url_for('web.books_list', data=page, sort_param='abc', query=query)}}"><span class="glyphicon glyphicon-font"></span><span class="glyphicon glyphicon-sort-by-alphabet"></span></a>
|
||||
|
||||
Reference in New Issue
Block a user