aboutsummaryrefslogtreecommitdiffstats
path: root/modules/search
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2024-12-24 23:38:30 -0800
committerGitHub <noreply@github.com>2024-12-25 07:38:30 +0000
commit5feb1a6bff6b6931ebe197258032557f55e32c6c (patch)
tree48e3aeb50c12c6bbffa86b0bea7cc9b22c1baf51 /modules/search
parentf44712f22bc7bfce049c64c27f60453ff1e41a5c (diff)
downloadgitea-main.tar.gz
gitea-main.zip
Use `CloseIssue` and `ReopenIssue` instead of `ChangeStatus` (#32467)HEADmain
The behaviors of closing issues and reopening issues are very different. So splitting it into two different functions makes it easier to maintain. - [x] Split ChangeIssueStatus into CloseIssue and ReopenIssue both at the service layer and model layer - [x] Rename `isClosed` to `CloseOrReopen` to make it more readable. - [x] Add transactions for ReopenIssue and CloseIssue --------- Co-authored-by: Zettat123 <zettat123@gmail.com>
Diffstat (limited to 'modules/search')
0 files changed, 0 insertions, 0 deletions