Skip to content

Commit f0f2b71

Browse files
committed
Fix pagionation on /notifications/watching page
1 parent 529bac1 commit f0f2b71

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

routers/web/user/notification.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,9 @@ func NotificationWatching(ctx *context.Context) {
344344
page = 1
345345
}
346346

347+
keyword := ctx.FormTrim("q")
348+
ctx.Data["Keyword"] = keyword
349+
347350
var orderBy db.SearchOrderBy
348351
ctx.Data["SortType"] = ctx.FormString("sort")
349352
switch ctx.FormString("sort") {

0 commit comments

Comments
 (0)