From 19510c4932c6d317b80d4b699f3d885d637e5d3e Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Wed, 3 Nov 2021 16:50:12 -0700 Subject: [PATCH] Fixed: Quality Profile and Tag Import List filtering Closes #4736 --- frontend/src/Store/Actions/Settings/importLists.js | 1 - src/NzbDrone.Core/ImportLists/Sonarr/SonarrImport.cs | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/src/Store/Actions/Settings/importLists.js b/frontend/src/Store/Actions/Settings/importLists.js index ca163d64d..1dd6db56d 100644 --- a/frontend/src/Store/Actions/Settings/importLists.js +++ b/frontend/src/Store/Actions/Settings/importLists.js @@ -89,7 +89,6 @@ export default { actionHandlers: { [FETCH_IMPORT_LISTS]: createFetchHandler(section, '/importlist'), [FETCH_IMPORT_LIST_SCHEMA]: createFetchSchemaHandler(section, '/importlist/schema'), - [SAVE_IMPORT_LIST]: createSaveProviderHandler(section, '/importlist'), [CANCEL_SAVE_IMPORT_LIST]: createCancelSaveProviderHandler(section), [DELETE_IMPORT_LIST]: createRemoveItemHandler(section, '/importlist'), diff --git a/src/NzbDrone.Core/ImportLists/Sonarr/SonarrImport.cs b/src/NzbDrone.Core/ImportLists/Sonarr/SonarrImport.cs index 4c8793fc8..846cf648d 100644 --- a/src/NzbDrone.Core/ImportLists/Sonarr/SonarrImport.cs +++ b/src/NzbDrone.Core/ImportLists/Sonarr/SonarrImport.cs @@ -81,7 +81,7 @@ namespace NzbDrone.Core.ImportLists.Sonarr options = profiles.OrderBy(d => d.Name, StringComparer.InvariantCultureIgnoreCase) .Select(d => new { - id = d.Id, + value = d.Id, name = d.Name }) }; @@ -96,7 +96,7 @@ namespace NzbDrone.Core.ImportLists.Sonarr options = tags.OrderBy(d => d.Label, StringComparer.InvariantCultureIgnoreCase) .Select(d => new { - id = d.Id, + value = d.Id, name = d.Label }) };