mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-15 13:57:09 +02:00
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…
Add table
Add a link
Reference in a new issue