fixed 'fetched in X seconds seconds'
All checks were successful
Run Integration Tests / test (push) Successful in 26s
All checks were successful
Run Integration Tests / test (push) Successful in 26s
This commit is contained in:
parent
06f8604779
commit
6445be87a9
9 changed files with 38 additions and 18 deletions
|
@ -120,7 +120,7 @@ func handleForumsSearch(w http.ResponseWriter, settings UserSettings, query stri
|
|||
"Query": query,
|
||||
"Results": results,
|
||||
"Page": page,
|
||||
"Fetched": fmt.Sprintf("%.2f %s", elapsedTime.Seconds(), Translate("seconds")), // Time for fetching results
|
||||
"Fetched": FormatElapsedTime(elapsedTime),
|
||||
"HasPrevPage": page > 1,
|
||||
"HasNextPage": len(results) >= 25,
|
||||
"NoResults": len(results) == 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue