Fix various small sort issues

This commit is contained in:
Deluan 2020-04-24 17:37:28 -04:00
parent 1dd3a794f8
commit 8dcca76ec9
6 changed files with 11 additions and 11 deletions

View file

@ -26,6 +26,9 @@ func NewArtistRepository(ctx context.Context, o orm.Ormer) model.ArtistRepositor
r.ormer = o
r.indexGroups = utils.ParseIndexGroups(conf.Server.IndexGroups)
r.tableName = "artist"
r.sortMappings = map[string]string{
"name": "order_artist_name",
}
r.filterMappings = map[string]filterFunc{
"name": fullTextFilter,
}