updated seasons list
This commit is contained in:
@@ -63,7 +63,7 @@ func ListSeasons(ctx context.Context, tx bun.Tx, pageOpts *PageOpts) (*SeasonLis
|
||||
pageOpts.Order = bun.OrderDesc
|
||||
}
|
||||
if pageOpts.OrderBy == "" {
|
||||
pageOpts.OrderBy = "name"
|
||||
pageOpts.OrderBy = "start_date"
|
||||
}
|
||||
seasons := []Season{}
|
||||
err := tx.NewSelect().
|
||||
|
||||
Reference in New Issue
Block a user