diff --git a/routers/web/user/notification.go b/routers/web/user/notification.go index 5fabd18381bc..e0aa92879fcc 100644 --- a/routers/web/user/notification.go +++ b/routers/web/user/notification.go @@ -381,7 +381,7 @@ func NotificationWatching(ctx *context.Context) { Page: page, }, Actor: ctx.Doer, - Keyword: ctx.FormTrim("q"), + Keyword: keyword, OrderBy: orderBy, Private: ctx.IsSigned, WatchedByID: ctx.Doer.ID,