1
0
mirror of https://github.com/zedeus/nitter.git synced 2025-12-10 05:55:37 -05:00

Revert "Switch to using typeahead for user search"

This reverts commit a3e11e3272.
This commit is contained in:
Zed
2023-08-23 19:31:40 +02:00
parent a3e11e3272
commit 88b005c9da
5 changed files with 11 additions and 15 deletions

View File

@@ -29,7 +29,7 @@ proc createSearchRouter*(cfg: Config) =
redirect("/" & q)
var users: Result[User]
try:
users = await getUserSearch(query)
users = await getUserSearch(query, getCursor())
except InternalError:
users = Result[User](beginning: true, query: query)
resp renderMain(renderUserSearch(users, prefs), request, cfg, prefs, title)