mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-18 21:35:51 -04:00
Issue with overwriting user settings for Indexers resolved.
Reworked RssSyncProvider to make it cleaner. SeasonProvider was returning the reveresed boolean result Indexer changed to not store empty strings as null when saving config (ApiUrl).
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using SubSonic.SqlGeneration.Schema;
|
||||
@@ -9,11 +10,12 @@ namespace NzbDrone.Core.Repository
|
||||
{
|
||||
public class Indexer
|
||||
{
|
||||
[SubSonicPrimaryKey (true)]
|
||||
[SubSonicPrimaryKey(true)]
|
||||
public string IndexerName { get; set; }
|
||||
public string RssUrl { get; set; }
|
||||
|
||||
[SubSonicNullStringAttribute]
|
||||
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
||||
public string ApiUrl { get; set; }
|
||||
public bool Enabled { get; set; }
|
||||
public int Order { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user