ui: Handle exercice authors
This commit is contained in:
parent
28ad0fa791
commit
60243dd486
2 changed files with 11 additions and 1 deletions
|
|
@ -12,6 +12,7 @@ var GlobalScoreCoefficient float64 = 1
|
|||
type exportedExercice struct {
|
||||
Id int64 `json:"id"`
|
||||
Title string `json:"title"`
|
||||
Authors string `json:"authors,omitempty"`
|
||||
Headline string `json:"headline,omitempty"`
|
||||
Image string `json:"image,omitempty"`
|
||||
URLId string `json:"urlid"`
|
||||
|
|
@ -63,6 +64,7 @@ func ExportThemes() (interface{}, error) {
|
|||
exos = append(exos, exportedExercice{
|
||||
exercice.Id,
|
||||
exercice.Title,
|
||||
exercice.Authors,
|
||||
exercice.Headline,
|
||||
exoimgpath,
|
||||
exercice.URLId,
|
||||
|
|
|
|||
Reference in a new issue