mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-26 06:16:56 +09:00
fix naming
This commit is contained in:
1 parent
9311a9858a
commit
ce4dcf1e83
2 files changed
+9
-9
No files matched your search
+2
-2
@@ -704,8 +704,8 @@ func GetMilestoneByIndex(repoId, idx int64) (*Milestone, error) {
|
||||
return m, nil
|
||||
}
|
||||
|
||||
// Milestones returns a list of milestones of given repository and status.
|
||||
func Milestones(repoID int64, page int, isClosed bool) ([]*Milestone, error) {
|
||||
// GetMilestones returns a list of milestones of given repository and status.
|
||||
func GetMilestones(repoID int64, page int, isClosed bool) ([]*Milestone, error) {
|
||||
miles := make([]*Milestone, 0, setting.IssuePagingNum)
|
||||
sess := x.Where("repo_id=? AND is_closed=?", repoID, isClosed)
|
||||
if page > 0 {
|
||||
|
||||
Reference in new issue
Block a user