Merge branch 'fixsort' into 'staging'
fix sort slice question in export method See merge request backend/quiz/core!8
This commit is contained in:
commit
7259f5ea6d
@ -37,7 +37,7 @@ func WriteDataToExcel(buffer io.Writer, questions []model.Question, answers []mo
|
||||
}
|
||||
|
||||
sort.Slice(questions, func(i, j int) bool {
|
||||
return questions[i].Page > questions[j].Page
|
||||
return questions[i].Page < questions[j].Page
|
||||
})
|
||||
|
||||
headers := []string{"Данные респондента"}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user