mirror of https://github.com/stashapp/stash.git
Order performers by name in All (#3111)
This commit is contained in:
parent
eb795ff9ab
commit
c83ebf7c1c
|
@ -387,7 +387,8 @@ func (qb *PerformerStore) Count(ctx context.Context) (int, error) {
|
|||
}
|
||||
|
||||
func (qb *PerformerStore) All(ctx context.Context) ([]*models.Performer, error) {
|
||||
return qb.getMany(ctx, qb.selectDataset())
|
||||
table := qb.table()
|
||||
return qb.getMany(ctx, qb.selectDataset().Order(table.Col("name").Asc()))
|
||||
}
|
||||
|
||||
func (qb *PerformerStore) QueryForAutoTag(ctx context.Context, words []string) ([]*models.Performer, error) {
|
||||
|
|
Loading…
Reference in New Issue