fix(local): apply source filters to selected artist albums

Filter physical album variants in the compatibility detail view and cancel stale native queries and unfiltered retries. Load album rows when switching out of the native model.

cx
This commit is contained in:
vicrodh committed 2026-09-06 14:34:18 -06:00
1 parent 9c9424bd30
commit bf84f2e65b
3 files changed
+30 -1

No files matched your search

+3 -1
View File
@@ -1174,7 +1174,9 @@ Rectangle {
readonly property var artistAlbums: {
if (selectedArtist === "") return []
if (QbzLocal.localArtistsNativeActive) return []
var rows = albums // binding dependency: re-derive on every republish
// The rail filters artist aggregates; the detail must also filter
// physical album copies, including when the selected artist stays.
var rows = applyFilter(albums, artistsFilter)
var ids = {}
try {
var arr = JSON.parse(QbzLocal.artistAlbumIds(selectedArtist))