Fix Player filter

This commit is contained in:
Deluan 2024-08-05 18:21:21 -04:00
parent 290333ec59
commit eaa7f7c7e9
4 changed files with 7 additions and 5 deletions

View file

@ -24,7 +24,7 @@ func NewRadioRepository(ctx context.Context, db dbx.Builder) model.RadioReposito
r.db = db
r.tableName = "radio"
r.filterMappings = map[string]filterFunc{
"name": containsFilter,
"name": containsFilter("name"),
}
r.sortMappings = map[string]string{
"name": "(name collate nocase), name",