You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/models
Nanguan Lin 1eae2aadae
Fix issue not showing on default board and add test (#27720)
See https://github.com/go-gitea/gitea/pull/27718#issuecomment-1773743014
. Add a test to ensure its behavior.
Why this test uses `ProjectBoardID=0`? Because in `SearchOptions`,
`ProjectBoardID=0` means what it is. But in `IssueOptions`,
`ProjectBoardID=0` means there is no condition, and
`ProjectBoardID=db.NoConditionID` means the board ID = 0.
It's really confusing. Probably it's better to separate the db search
engine and the other issue search code. It's really two different
systems. As far as I can see, `IssueOptions` is not necessary for most
of the code, which has very simple issue search conditions.
8 months ago
..
actions Upgrade to golangci-lint@v1.55.0 (#27756) 8 months ago
activities Upgrade to golangci-lint@v1.55.0 (#27756) 8 months ago
admin Next round of `db.DefaultContext` refactor (#27089) 10 months ago
asymkey Replace more db.DefaultContext (#27628) 9 months ago
auth Final round of `db.DefaultContext` refactor (#27587) 9 months ago
avatars Final round of `db.DefaultContext` refactor (#27587) 9 months ago
db refactor: make db iterate context aware (#27710) 8 months ago
dbfs make writing main test easier (#27270) 9 months ago
fixtures Add unit tests for action runner token (#27670) 8 months ago
git Upgrade xorm (#27673) 8 months ago
issues Fix issue not showing on default board and add test (#27720) 8 months ago
migrations Enhanced auth token / remember me (#27606) 9 months ago
organization Even more `db.DefaultContext` refactor (#27352) 9 months ago
packages make writing main test easier (#27270) 9 months ago
perm Even more `db.DefaultContext` refactor (#27352) 9 months ago
project More `db.DefaultContext` refactor (#27265) 9 months ago
pull
repo Replace more db.DefaultContext (#27628) 9 months ago
secret
shared/types
system Replace more db.DefaultContext (#27628) 9 months ago
unit Make actions default enabled for newly created repository if global configuraion enabled (#27482) 9 months ago
unittest Upgrade xorm (#27673) 8 months ago
user Replace -1 with GhostUserID (#27703) 8 months ago
webhook Final round of `db.DefaultContext` refactor (#27587) 9 months ago
error.go
fixture_generation.go Replace more db.DefaultContext (#27628) 9 months ago
fixture_test.go Replace more db.DefaultContext (#27628) 9 months ago
main_test.go make writing main test easier (#27270) 9 months ago
org.go Replace more db.DefaultContext (#27628) 9 months ago
org_team.go Even more `db.DefaultContext` refactor (#27352) 9 months ago
org_team_test.go Reduce usage of `db.DefaultContext` (#27073) 10 months ago
org_test.go Replace more db.DefaultContext (#27628) 9 months ago
repo.go Penultimate round of `db.DefaultContext` refactor (#27414) 9 months ago
repo_test.go Penultimate round of `db.DefaultContext` refactor (#27414) 9 months ago
repo_transfer.go Next round of `db.DefaultContext` refactor (#27089) 10 months ago
repo_transfer_test.go Next round of `db.DefaultContext` refactor (#27089) 10 months ago