mirror of
https://github.com/go-gitea/gitea.git
synced 2025-04-07 20:25:21 +02:00
Update models/actions/task_step.go
Co-authored-by: ChristopherHX <christopher.homberger@web.de>
This commit is contained in:
parent
22496aa57e
commit
63e82382fc
@ -37,5 +37,5 @@ func init() {
|
||||
|
||||
func GetTaskStepsByTaskID(ctx context.Context, taskID int64) ([]*ActionTaskStep, error) {
|
||||
var steps []*ActionTaskStep
|
||||
return steps, db.GetEngine(ctx).Where("task_id=?", taskID).OrderBy("number").Find(&steps)
|
||||
return steps, db.GetEngine(ctx).Where("task_id=?", taskID).OrderBy("index").Find(&steps)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user