mirror of https://github.com/go-gitea/gitea.git
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.
Backport #22037. When deleting a closed issue, we should update both `NumIssues`and `NumClosedIssues`, or `NumOpenIssues`(`= NumIssues -NumClosedIssues`) will be wrong. It's the same for pull requests. Releated to #21557. Alse fixed two harmless problems: - The SQL to check issue/PR total numbers is wrong, that means it will update the numbers even if they are correct. - Replace legacy `num_issues = num_issues + 1` operations with `UpdateRepoIssueNumbers`. |
2 years ago | |
---|---|---|
.. | ||
agit | 3 years ago | |
asymkey | 3 years ago | |
attachment | 3 years ago | |
auth | 2 years ago | |
automerge | 3 years ago | |
comments | 3 years ago | |
context | 3 years ago | |
cron | 3 years ago | |
externalaccount | 3 years ago | |
forms | 3 years ago | |
gitdiff | 2 years ago | |
issue | 2 years ago | |
lfs | 2 years ago | |
mailer | 3 years ago | |
migrations | 2 years ago | |
mirror | 3 years ago | |
org | 3 years ago | |
packages | 3 years ago | |
pull | 2 years ago | |
release | 3 years ago | |
repository | 2 years ago | |
task | 3 years ago | |
user | 3 years ago | |
webhook | 2 years ago | |
wiki | 3 years ago |