Global search - add error messages for terms that are not found

This commit is contained in:
John R. Supplee 2021-01-13 01:14:49 +02:00
parent 4ab1a04814
commit 80b23e5cc1
7 changed files with 129 additions and 57 deletions

View file

@ -19,6 +19,11 @@ template(name="globalSearch")
h1
= resultsCount.get
| Results
if queryErrors.get
div
each msg in errorMessages
span.global-search-error-messages
| {{_ msg.tag msg.value }}
each card in results
.global-search-card-wrapper
a.minicard-wrapper.card-title(href=card.absoluteUrl)