From 73338a4fa76c3fff3fce922508604050021000e2 Mon Sep 17 00:00:00 2001 From: zouap Date: Mon, 7 Mar 2022 17:34:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- routers/search.go | 1 + 1 file changed, 1 insertion(+) diff --git a/routers/search.go b/routers/search.go index 796f41b52..7699e7a17 100644 --- a/routers/search.go +++ b/routers/search.go @@ -161,6 +161,7 @@ func searchRepo(ctx *context.Context, TableName string, Key string, Page int, Pa }, Actor: ctx.User, OrderBy: orderBy, + Private: true, OnlyPrivate: true, Keyword: Key, IncludeDescription: setting.UI.SearchRepoDescription,