]> source.dussan.org Git - gitea.git/commit
Show all projects, not just repo projects and open/closed projects (#22640)
authorLunny Xiao <xiaolunwen@gmail.com>
Sat, 4 Feb 2023 14:35:08 +0000 (22:35 +0800)
committerGitHub <noreply@github.com>
Sat, 4 Feb 2023 14:35:08 +0000 (22:35 +0800)
commit8574a6433fab47b6f20997f024c176490dfad1c0
tree7ea17ca9fc62897d9632881feb3caf918260b7c3
parent4d20a4a1baeb9ed1bb5b3ed7c44b6046f6387303
Show all projects, not just repo projects and open/closed projects  (#22640)

This PR fixes two problems. One is when filter repository issues, only
repository level projects are listed. Another is if you list open
issues, only open projects will be displayed in filter options and if
you list closed issues, only closed projects will be displayed in filter
options.

In this PR, both repository level and org/user level projects will be
displayed in filter, and both open and closed projects will be listed as
filter items.

---------

Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: delvh <dev.lh@web.de>
models/db/search.go
models/issues/issue.go
options/locale/locale_en-US.ini
routers/web/repo/issue.go
templates/repo/issue/list.tmpl