mirror of https://github.com/stashapp/stash.git
Fix performer tag sort (#4018)
* Fix performer tag sort * Fix entirely unrelated test
This commit is contained in:
parent
38a06be148
commit
8be2c4b6d2
|
@ -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",
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue