mirror of
https://github.com/navidrome/navidrome.git
synced 2026-08-31 07:30:32 +00:00
Fix playlist filter
This commit is contained in:
parent
053909196c
commit
aaeaa3c590
@ -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…
x
Reference in New Issue
Block a user