mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Fix performer tag sort (#4018)
* Fix performer tag sort * Fix entirely unrelated test
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package identify
|
||||
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"reflect"
|
||||
"strconv"
|
||||
@@ -770,7 +769,7 @@ func Test_sceneRelationships_cover(t *testing.T) {
|
||||
},
|
||||
}
|
||||
|
||||
got, err := tr.cover(context.TODO())
|
||||
got, err := tr.cover(testCtx)
|
||||
if (err != nil) != tt.wantErr {
|
||||
t.Errorf("sceneRelationships.cover() error = %v, wantErr %v", err, tt.wantErr)
|
||||
return
|
||||
|
||||
@@ -1035,6 +1035,8 @@ func (qb *PerformerStore) tagsRepository() *joinRepository {
|
||||
idColumn: performerIDColumn,
|
||||
},
|
||||
fkColumn: tagIDColumn,
|
||||
foreignTable: tagTable,
|
||||
orderBy: "tags.name ASC",
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user