search: fixed dynamic album name filtering
This commit is contained in:
parent
9bdb3171d9
commit
2d1fbbd4d3
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ class CollectionSearchDelegate extends AvesSearchDelegate with FeedbackMixin, Va
|
||||||
source.getStoredAlbumDisplayName(context, album),
|
source.getStoredAlbumDisplayName(context, album),
|
||||||
))
|
))
|
||||||
.where((filter) => containQuery(filter.displayName ?? filter.album)),
|
.where((filter) => containQuery(filter.displayName ?? filter.album)),
|
||||||
...dynamicAlbums.all,
|
...dynamicAlbums.all.where((filter) => containQuery(filter.name)),
|
||||||
]..sort();
|
]..sort();
|
||||||
return _buildFilterRow(
|
return _buildFilterRow(
|
||||||
context: context,
|
context: context,
|
||||||
|
|
Loading…
Reference in a new issue