diff --git a/router/api_handler.go b/router/api_handler.go index d179f68f..27cf554b 100644 --- a/router/api_handler.go +++ b/router/api_handler.go @@ -294,7 +294,7 @@ func APISearchHandler(w http.ResponseWriter, r *http.Request) { } } - _, torrents, _, err := search.SearchByQuery(r, pagenum) + _, torrents, _, err := search.SearchByQueryWithUser(r, pagenum) if err != nil { http.Error(w, err.Error(), http.StatusInternalServerError) return