Fix search so it plays the correct tracks

This commit is contained in:
Mikko Ahlroth 2023-10-15 21:23:50 +03:00
parent a8ed5aa8ff
commit 9a3902bd6d

View file

@ -159,7 +159,7 @@ fn generate_view(item_view: ItemView(a), search_filter: SearchFilter(a)) {
],
list.index_map(
items,
fn(i, item) { item_view(model.library, model.data, i, item) },
fn(i, item) { item_view(model.library, items, i, item) },
),
),
)