* fix(persistence): apply the artist library scope to every search path - #6340
Signed-off-by: yuwk <1729065730@qq.com>
* test(persistence): expect a scoped artist search to find the artist
The library-scope specs only showed that searching another library
returns nothing. Also search with library_id = [lib2.ID] and expect
the artist that belongs to that library.
Signed-off-by: Vincent <52391318+ump45nose@users.noreply.github.com>
Co-authored-by: ump45nose <ump45nose@users.noreply.github.com>
* refactor(search): streamline artist search configuration and improve library filtering logic
---------
Signed-off-by: yuwk <1729065730@qq.com>
Signed-off-by: Vincent <52391318+ump45nose@users.noreply.github.com>
Co-authored-by: Deluan Quintão <deluan@navidrome.org>
Co-authored-by: ump45nose <ump45nose@users.noreply.github.com>