fixed 'no more results' text
Some checks failed
Run Integration Tests / test (pull_request) Failing after 1m38s

This commit is contained in:
partisan 2025-01-05 20:27:13 +01:00
parent 5ae97da6d0
commit 8700035893
9 changed files with 37 additions and 16 deletions

View file

@ -56,7 +56,7 @@ func handleFileSearch(w http.ResponseWriter, settings UserSettings, query string
"Category": "all",
"Sort": "seed",
"Page": page,
"HasPrevPage": page > 1,
"HasPrevPage": page >= 1,
"HasNextPage": len(combinedResults) > 0,
"LanguageOptions": languageOptions,
"CurrentLang": settings.SearchLanguage,