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
|
package identify
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
|
||||||
"errors"
|
"errors"
|
||||||
"reflect"
|
"reflect"
|
||||||
"strconv"
|
"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 {
|
if (err != nil) != tt.wantErr {
|
||||||
t.Errorf("sceneRelationships.cover() error = %v, wantErr %v", err, tt.wantErr)
|
t.Errorf("sceneRelationships.cover() error = %v, wantErr %v", err, tt.wantErr)
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -1034,7 +1034,9 @@ func (qb *PerformerStore) tagsRepository() *joinRepository {
|
|||||||
tableName: performersTagsTable,
|
tableName: performersTagsTable,
|
||||||
idColumn: performerIDColumn,
|
idColumn: performerIDColumn,
|
||||||
},
|
},
|
||||||
fkColumn: tagIDColumn,
|
fkColumn: tagIDColumn,
|
||||||
|
foreignTable: tagTable,
|
||||||
|
orderBy: "tags.name ASC",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user