Skip to content

Commit

Permalink
re-use keyword variable
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Mar 20, 2023
1 parent f0f2b71 commit deac5a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/web/user/notification.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit deac5a6

Please sign in to comment.