Fix playlist filter
This commit is contained in:
@@ -38,8 +38,8 @@ func NewPlaylistRepository(ctx context.Context, o orm.Ormer) model.PlaylistRepos
|
|||||||
|
|
||||||
func playlistFilter(field string, value interface{}) Sqlizer {
|
func playlistFilter(field string, value interface{}) Sqlizer {
|
||||||
return Or{
|
return Or{
|
||||||
substringFilter("name", value),
|
substringFilter("playlist.name", value),
|
||||||
substringFilter("comment", value),
|
substringFilter("playlist.comment", value),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user