gitea/models
yp05327 e61e9a36b7
Fix PullRequestList.GetIssueIDs's logic ()
fix a bug from 

`prs.GetIssueIDs()` will also be used in other places, e.g.
`InvalidateCodeComments`
so we should not add `if pr.Issue == nil` in it, or if `pr.Issue` is
already loaded, you will not get the issueID in the results list and
this is not an expected result.

So this will caused a bug:
before calling `InvalidateCodeComments`, all `pr.Issues` in `prs` are
loaded, so `issueIDs` in this function will always be `[]`.

![image](https://github.com/go-gitea/gitea/assets/18380374/ef94d9d2-0bf9-455a-abd6-4d5e6497db7c)
..
actions Drop `IDOrderDesc` for listing Actions task and always order by `id DESC` ()
activities Rename project board -> column to make the UI less confusing ()
admin Next round of `db.DefaultContext` refactor ()
asymkey Enable more `revive` linter rules ()
auth Fix wrong table name ()
avatars Replace 10 more gt- classes with tw- ()
db [Refactor] Unify repo search order by logic ()
dbfs Enable `unparam` linter ()
fixtures Fix wrong display of recently pushed notification ()
git Fix branch order ()
issues Fix PullRequestList.GetIssueIDs's logic ()
migrations Fix the possible migration failure on 286 with postgres 16 ()
organization Fix wrong display of recently pushed notification ()
packages Fix package list performance ()
perm Clarify permission "HasAccess" behavior ()
project Rename project board -> column to make the UI less confusing ()
pull Add support for sha256 repositories ()
repo [Refactor] Unify repo search order by logic ()
secret Make runs-on support variable expression ()
shared/types Refactor locale&string&template related code ()
system Refactor deletion ()
unit Rename project board -> column to make the UI less confusing ()
unittest Add some tests to clarify the "must-change-password" behavior ()
user Performance improvements for pull request list API ()
webhook Store webhook event in database ()
error.go Add merge style `fast-forward-only` ()
fixture_generation.go Replace more db.DefaultContext ()
fixture_test.go Replace more db.DefaultContext ()
main_test.go make writing main test easier ()
org.go Add user blocking ()
org_team.go Clarify permission "HasAccess" behavior ()
org_team_test.go Add user blocking ()
org_test.go Add user blocking ()
repo.go Refactor deletion ()
repo_test.go Penultimate round of `db.DefaultContext` refactor ()
repo_transfer.go chore: use errors.New to replace fmt.Errorf with no parameters will much better ()