From 9f36665d6defdecd019329695fe273ee7348d735 Mon Sep 17 00:00:00 2001
From: geogolem <55031547+geogolem@users.noreply.github.com>
Date: Tue, 3 Dec 2019 20:56:49 -0500
Subject: [PATCH] Fixed: Add back minimumAvailability for netimport lists
(#3916)
---
.../NetImport/NetImport/EditNetImportModalContent.js | 11 +++++++++++
src/Radarr.Api.V2/NetImport/NetImportResource.cs | 2 ++
2 files changed, 13 insertions(+)
diff --git a/frontend/src/Settings/NetImport/NetImport/EditNetImportModalContent.js b/frontend/src/Settings/NetImport/NetImport/EditNetImportModalContent.js
index 85fefbf25..4a02efdda 100644
--- a/frontend/src/Settings/NetImport/NetImport/EditNetImportModalContent.js
+++ b/frontend/src/Settings/NetImport/NetImport/EditNetImportModalContent.js
@@ -40,6 +40,7 @@ function EditNetImportModalContent(props) {
enabled,
enableAuto,
shouldMonitor,
+ minimumAvailability,
qualityProfileId,
rootFolderPath,
tags,
@@ -115,6 +116,16 @@ function EditNetImportModalContent(props) {
/>
+
+ Minimum Availability
+
+
+
Quality Profile
diff --git a/src/Radarr.Api.V2/NetImport/NetImportResource.cs b/src/Radarr.Api.V2/NetImport/NetImportResource.cs
index eb6d316c9..2ae868ba8 100644
--- a/src/Radarr.Api.V2/NetImport/NetImportResource.cs
+++ b/src/Radarr.Api.V2/NetImport/NetImportResource.cs
@@ -29,6 +29,7 @@ namespace Radarr.Api.V2.NetImport
resource.ShouldMonitor = definition.ShouldMonitor;
resource.RootFolderPath = definition.RootFolderPath;
resource.QualityProfileId = definition.ProfileId;
+ resource.MinimumAvailability = definition.MinimumAvailability;
return resource;
}
@@ -47,6 +48,7 @@ namespace Radarr.Api.V2.NetImport
definition.ShouldMonitor = resource.ShouldMonitor;
definition.RootFolderPath = resource.RootFolderPath;
definition.ProfileId = resource.QualityProfileId;
+ definition.MinimumAvailability = resource.MinimumAvailability;
return definition;
}