File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1616 $else:
1717 $ first_page_in_set = max((page-half, 1))
1818 $ last_page_in_set = page+half
19- < div class =" clearfix " > </ div >
19+
2020 < div class ="pagination ">
2121 $if page != 1:
2222 < a href ="$changequery(page=None) " class ="ChoosePage " data-ol-link-track ="Pager|First "> « $_('First')</ a >
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ <h1>$_("Search Authors")</h1>
5353 < div id ="fulltext-search-suggestion " data-query ="$q ">
5454 $:macros.LoadingIndicator(_("Checking Search Inside matches"))
5555 </ div >
56-
56+ $if results.num_found:
5757 < ul class ="authorList list-books ">
5858 $for doc in results.docs:
5959 $ n = doc['name']
@@ -78,5 +78,5 @@ <h1>$_("Search Authors")</h1>
7878
7979 $:macros.Pager(page, results.num_found, results_per_page)
8080 </ div >
81- < div class =" clearfix " > </ div >
81+
8282</ div>
Original file line number Diff line number Diff line change 4646 < br >
4747 </ strong >
4848
49- $if q and not response.error:
49+ $if q and not response.error and response.num_found :
5050 < ul class ="subjectList ">
5151 $for doc in response.docs:
5252 $ n = doc['name']
You can’t perform that action at this time.
0 commit comments