fixed 'no more results' text
Some checks failed
Run Integration Tests / test (pull_request) Failing after 1m38s
Some checks failed
Run Integration Tests / test (pull_request) Failing after 1m38s
This commit is contained in:
parent
5ae97da6d0
commit
8700035893
9 changed files with 37 additions and 16 deletions
1
video.go
1
video.go
|
@ -170,6 +170,7 @@ func handleVideoSearch(w http.ResponseWriter, settings UserSettings, query strin
|
|||
"Page": page,
|
||||
"HasPrevPage": page > 1,
|
||||
"HasNextPage": len(results) > 0,
|
||||
"NoResults": len(results) == 0,
|
||||
"LanguageOptions": languageOptions,
|
||||
"CurrentLang": settings.SearchLanguage,
|
||||
"Theme": settings.Theme,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue