|
5 | 5 | <div class="ui stackable grid">
|
6 | 6 | <div class="four wide column">
|
7 | 7 | <div class="ui secondary vertical filter menu gt-bg-transparent">
|
8 |
| - <a class="{{if eq .ViewType "your_repositories"}}active{{end}} item" href="{{.Link}}?type=your_repositories&repos=[{{range $.RepoIDs}}{{.}}%2C{{end}}]&sort={{$.SortType}}&state={{.State}}"> |
| 8 | + <a class="{{if eq .ViewType "your_repositories"}}active{{end}} item" href="{{.Link}}?type=your_repositories&repos=[{{range $.RepoIDs}}{{.}}%2C{{end}}]&sort={{$.SortType}}&state={{.State}}&q={{$.Keyword}}"> |
9 | 9 | {{.locale.Tr "home.issues.in_your_repos"}}
|
10 | 10 | <strong class="ui right">{{CountFmt .IssueStats.YourRepositoriesCount}}</strong>
|
11 | 11 | </a>
|
12 |
| - <a class="{{if eq .ViewType "assigned"}}active{{end}} item" href="{{.Link}}?type=assigned&repos=[{{range $.RepoIDs}}{{.}}%2C{{end}}]&sort={{$.SortType}}&state={{.State}}"> |
| 12 | + <a class="{{if eq .ViewType "assigned"}}active{{end}} item" href="{{.Link}}?type=assigned&repos=[{{range $.RepoIDs}}{{.}}%2C{{end}}]&sort={{$.SortType}}&state={{.State}}&q={{$.Keyword}}"> |
13 | 13 | {{.locale.Tr "repo.issues.filter_type.assigned_to_you"}}
|
14 | 14 | <strong class="ui right">{{CountFmt .IssueStats.AssignCount}}</strong>
|
15 | 15 | </a>
|
16 |
| - <a class="{{if eq .ViewType "created_by"}}active{{end}} item" href="{{.Link}}?type=created_by&repos=[{{range $.RepoIDs}}{{.}}%2C{{end}}]&sort={{$.SortType}}&state={{.State}}"> |
| 16 | + <a class="{{if eq .ViewType "created_by"}}active{{end}} item" href="{{.Link}}?type=created_by&repos=[{{range $.RepoIDs}}{{.}}%2C{{end}}]&sort={{$.SortType}}&state={{.State}}&q={{$.Keyword}}"> |
17 | 17 | {{.locale.Tr "repo.issues.filter_type.created_by_you"}}
|
18 | 18 | <strong class="ui right">{{CountFmt .IssueStats.CreateCount}}</strong>
|
19 | 19 | </a>
|
20 | 20 | {{if .PageIsPulls}}
|
21 |
| - <a class="{{if eq .ViewType "review_requested"}}active{{end}} item" href="{{.Link}}?type=review_requested&repos=[{{range $.RepoIDs}}{{.}}%2C{{end}}]&sort={{$.SortType}}&state={{.State}}"> |
| 21 | + <a class="{{if eq .ViewType "review_requested"}}active{{end}} item" href="{{.Link}}?type=review_requested&repos=[{{range $.RepoIDs}}{{.}}%2C{{end}}]&sort={{$.SortType}}&state={{.State}}&q={{$.Keyword}}"> |
22 | 22 | {{.locale.Tr "repo.issues.filter_type.review_requested"}}
|
23 | 23 | <strong class="ui right">{{CountFmt .IssueStats.ReviewRequestedCount}}</strong>
|
24 | 24 | </a>
|
25 |
| - <a class="{{if eq .ViewType "reviewed_by"}}active{{end}} item" href="{{.Link}}?type=reviewed_by&repos=[{{range $.RepoIDs}}{{.}}%2C{{end}}]&sort={{$.SortType}}&state={{.State}}"> |
| 25 | + <a class="{{if eq .ViewType "reviewed_by"}}active{{end}} item" href="{{.Link}}?type=reviewed_by&repos=[{{range $.RepoIDs}}{{.}}%2C{{end}}]&sort={{$.SortType}}&state={{.State}}&q={{$.Keyword}}"> |
26 | 26 | {{.locale.Tr "repo.issues.filter_type.reviewed_by_you"}}
|
27 | 27 | <strong class="ui right">{{CountFmt .IssueStats.ReviewedCount}}</strong>
|
28 | 28 | </a>
|
29 | 29 | {{end}}
|
30 |
| - <a class="{{if eq .ViewType "mentioned"}}active{{end}} item" href="{{.Link}}?type=mentioned&repos=[{{range $.RepoIDs}}{{.}}%2C{{end}}]&sort={{$.SortType}}&state={{.State}}"> |
| 30 | + <a class="{{if eq .ViewType "mentioned"}}active{{end}} item" href="{{.Link}}?type=mentioned&repos=[{{range $.RepoIDs}}{{.}}%2C{{end}}]&sort={{$.SortType}}&state={{.State}}&q={{$.Keyword}}"> |
31 | 31 | {{.locale.Tr "repo.issues.filter_type.mentioning_you"}}
|
32 | 32 | <strong class="ui right">{{CountFmt .IssueStats.MentionCount}}</strong>
|
33 | 33 | </a>
|
|
0 commit comments