Add Genre filters to UI

This commit is contained in:
Deluan
2021-07-16 19:41:49 -04:00
committed by Deluan Quintão
parent c56c7c865e
commit 20b7e5c49b
13 changed files with 108 additions and 32 deletions
+3
View File
@@ -22,6 +22,9 @@ func NewGenreRepository(ctx context.Context, o orm.Ormer) model.GenreRepository
r.ctx = ctx
r.ormer = o
r.tableName = "genre"
r.filterMappings = map[string]filterFunc{
"name": containsFilter,
}
return r
}