fix(ui): sort mappings (#3296)
* fix(ui): update sort mapping for title in mediafile repository * fix(ui): create sort mapping for username in share repository * fix(ui): create sort mapping for owner_name in playlist repository * fix(ui): create sort mapping for username in player repository * fix(ui): remove sort mapping for track number in mediafile repository * chore: add todo to change user_name
This commit is contained in:
@@ -24,6 +24,9 @@ func NewShareRepository(ctx context.Context, db dbx.Builder) model.ShareReposito
|
||||
r.ctx = ctx
|
||||
r.db = db
|
||||
r.registerModel(&model.Share{}, map[string]filterFunc{})
|
||||
r.sortMappings = map[string]string{
|
||||
"username": "username",
|
||||
}
|
||||
return r
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user