Start work on paging search results

This commit is contained in:
John R. Supplee 2021-01-27 02:21:12 +02:00
parent 7ad1171c5f
commit 4e8fc46475
5 changed files with 348 additions and 230 deletions

View file

@ -37,6 +37,12 @@ template(name="globalSearch")
a.fa.fa-link(title="{{_ 'link-to-search' }}" href="{{ getSearchHref }}")
each card in results.get
+resultCard(card)
if hasPreviousPage.get
button.js-previous-page
| {{_ 'previous-page' }}
if hasNextPage.get
button.js-next-page
| {{_ 'next-page' }}
else
.global-search-instructions
h2 {{_ 'boards' }}