search: fixed dynamic album name filtering

This commit is contained in:
Thibault Deckers 2025-01-03 12:08:26 +01:00
parent 9bdb3171d9
commit 2d1fbbd4d3

View file

@ -218,7 +218,7 @@ class CollectionSearchDelegate extends AvesSearchDelegate with FeedbackMixin, Va
source.getStoredAlbumDisplayName(context, album),
))
.where((filter) => containQuery(filter.displayName ?? filter.album)),
...dynamicAlbums.all,
...dynamicAlbums.all.where((filter) => containQuery(filter.name)),
]..sort();
return _buildFilterRow(
context: context,