mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-19 16:30:15 +00:00
ui and pulls index fix
This commit is contained in:
parent
5c5ccddb02
commit
2a2a8cd619
6 changed files with 25 additions and 8 deletions
|
@ -598,7 +598,7 @@ func CompareAndPullRequestPost(ctx *middleware.Context, form auth.CreateIssueFor
|
|||
|
||||
pull := &models.Issue{
|
||||
RepoID: repo.ID,
|
||||
Index: int64(repo.NumIssues) + 1,
|
||||
Index: repo.NextIssueIndex(),
|
||||
Name: form.Title,
|
||||
PosterID: ctx.User.Id,
|
||||
Poster: ctx.User,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue