From aa77b3bac12d970345643031493f69b353e24ad0 Mon Sep 17 00:00:00 2001 From: akuma06 Date: Sat, 10 Jun 2017 19:46:04 +0200 Subject: [PATCH] Fix the fact that we didn't have uploader name on api search --- router/api_handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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