Sort limits in IndexerCapabilities

pull/1672/head
Bogdan 1 year ago
parent d21debe77f
commit ef0f8e25fd

@ -455,10 +455,10 @@ namespace NzbDrone.Core.Indexers
new XElement("caps",
new XElement("server",
new XAttribute("title", "Prowlarr")),
LimitsMax != null || LimitsDefault != null ?
LimitsDefault != null || LimitsMax != null ?
new XElement("limits",
LimitsMax != null ? new XAttribute("max", LimitsMax) : null,
LimitsDefault != null ? new XAttribute("default", LimitsDefault) : null)
LimitsDefault != null ? new XAttribute("default", LimitsDefault) : null,
LimitsMax != null ? new XAttribute("max", LimitsMax) : null)
: null,
new XElement("searching",
new XElement("search",

Loading…
Cancel
Save