mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-05-27 18:00:02 +02:00
new user dahsboard issues
This commit is contained in:
parent
be90ea583a
commit
f808df5a7b
16 changed files with 427 additions and 258 deletions
|
@ -221,6 +221,11 @@ func (repo *Repository) GetMilestoneByID(milestoneID int64) (*Milestone, error)
|
|||
return GetRepoMilestoneByID(repo.ID, milestoneID)
|
||||
}
|
||||
|
||||
// IssueStats returns number of open and closed repository issues by given filter mode.
|
||||
func (repo *Repository) IssueStats(uid int64, filterMode int) (int64, int64) {
|
||||
return GetRepoIssueStats(repo.ID, uid, filterMode)
|
||||
}
|
||||
|
||||
func (repo *Repository) GetMirror() (err error) {
|
||||
repo.Mirror, err = GetMirror(repo.ID)
|
||||
return err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue