mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Order performers by name in All (#3111)
This commit is contained in:
@@ -387,7 +387,8 @@ func (qb *PerformerStore) Count(ctx context.Context) (int, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (qb *PerformerStore) All(ctx context.Context) ([]*models.Performer, 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) {
|
func (qb *PerformerStore) QueryForAutoTag(ctx context.Context, words []string) ([]*models.Performer, error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user