mirror of
https://github.com/go-gitea/gitea
synced 2025-07-12 13:37:20 +00:00
ui and pulls index fix
This commit is contained in:
@ -268,6 +268,10 @@ func (repo *Repository) IsOwnedBy(userID int64) bool {
|
||||
return repo.OwnerID == userID
|
||||
}
|
||||
|
||||
func (repo *Repository) NextIssueIndex() int64 {
|
||||
return int64(repo.NumIssues+repo.NumPulls) + 1
|
||||
}
|
||||
|
||||
var (
|
||||
DescPattern = regexp.MustCompile(`https?://\S+`)
|
||||
)
|
||||
|
Reference in New Issue
Block a user