We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 581fbcb + 45aa4ea commit cf50668Copy full SHA for cf50668
routers/web/user/notification.go
@@ -344,6 +344,9 @@ func NotificationWatching(ctx *context.Context) {
344
page = 1
345
}
346
347
+ keyword := ctx.FormTrim("q")
348
+ ctx.Data["Keyword"] = keyword
349
+
350
var orderBy db.SearchOrderBy
351
ctx.Data["SortType"] = ctx.FormString("sort")
352
switch ctx.FormString("sort") {
@@ -378,7 +381,7 @@ func NotificationWatching(ctx *context.Context) {
378
381
Page: page,
379
382
},
380
383
Actor: ctx.Doer,
- Keyword: ctx.FormTrim("q"),
384
+ Keyword: keyword,
385
OrderBy: orderBy,
386
Private: ctx.IsSigned,
387
WatchedByID: ctx.Doer.ID,
0 commit comments