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

@ -21,7 +21,7 @@ func NewPlayerRepository(ctx context.Context, db dbx.Builder) model.PlayerReposi
r.db = db
r.tableName = "player"
r.filterMappings = map[string]filterFunc{
"name": containsFilter,
"name": containsFilter("player.name"),
}
return r
}