Fix playlist filter
This commit is contained in:
parent
053909196c
commit
aaeaa3c590
1 changed files with 2 additions and 2 deletions
|
|
@ -38,8 +38,8 @@ func NewPlaylistRepository(ctx context.Context, o orm.Ormer) model.PlaylistRepos
|
|||
|
||||
func playlistFilter(field string, value interface{}) Sqlizer {
|
||||
return Or{
|
||||
substringFilter("name", value),
|
||||
substringFilter("comment", value),
|
||||
substringFilter("playlist.name", value),
|
||||
substringFilter("playlist.comment", value),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue