mirror of
https://github.com/stashapp/stash.git
synced 2025-12-20 23:35:24 +01:00
Order performers by name in All (#3111)
This commit is contained in:
parent
eb795ff9ab
commit
c83ebf7c1c
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue