From a9cfcaeda6f4fea4b3e5f214e445dcf741031982 Mon Sep 17 00:00:00 2001 From: Jeff <42182408+jeffvli@users.noreply.github.com> Date: Wed, 22 Feb 2023 12:22:39 -0800 Subject: [PATCH] Fix artist song list play behavior (#29) --- .../features/songs/components/song-list-header-filters.tsx | 2 +- src/renderer/features/songs/components/song-list-header.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/features/songs/components/song-list-header-filters.tsx b/src/renderer/features/songs/components/song-list-header-filters.tsx index f25b4c3c..440c09e1 100644 --- a/src/renderer/features/songs/components/song-list-header-filters.tsx +++ b/src/renderer/features/songs/components/song-list-header-filters.tsx @@ -252,7 +252,7 @@ export const SongListHeaderFilters = ({ const handlePlay = async (play: Play) => { if (!itemCount || itemCount === 0) return; - const query: SongListQuery = { startIndex: 0, ...page.filter }; + const query: SongListQuery = { startIndex: 0, ...page.filter, ...customFilters }; handlePlayQueueAdd?.({ byItemType: { diff --git a/src/renderer/features/songs/components/song-list-header.tsx b/src/renderer/features/songs/components/song-list-header.tsx index 6a5ad64f..095bcf1f 100644 --- a/src/renderer/features/songs/components/song-list-header.tsx +++ b/src/renderer/features/songs/components/song-list-header.tsx @@ -95,7 +95,7 @@ export const SongListHeader = ({ const handlePlay = async (play: Play) => { if (!itemCount || itemCount === 0) return; - const query: SongListQuery = { startIndex: 0, ...page.filter }; + const query: SongListQuery = { startIndex: 0, ...page.filter, ...customFilters }; handlePlayQueueAdd?.({ byItemType: {