From f5386dfeda126c1fee2df578d3286707ffdfb5e9 Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Fri, 3 Mar 2023 07:10:13 -0600 Subject: [PATCH] fix: Template config listing is no longer reversed --- .../Config/Listers/ConfigTemplateLister.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Recyclarr.TrashLib/Config/Listers/ConfigTemplateLister.cs b/src/Recyclarr.TrashLib/Config/Listers/ConfigTemplateLister.cs index ab4bb679..51fa61ef 100644 --- a/src/Recyclarr.TrashLib/Config/Listers/ConfigTemplateLister.cs +++ b/src/Recyclarr.TrashLib/Config/Listers/ConfigTemplateLister.cs @@ -24,12 +24,12 @@ public class ConfigTemplateLister : IConfigLister var sonarrRowItems = RenderTemplates(table, data, SupportedServices.Sonarr); var radarrRowItems = RenderTemplates(table, data, SupportedServices.Radarr); - var items = radarrRowItems - .ZipLongest(sonarrRowItems, (l, r) => (l ?? empty, r ?? empty)); + var items = sonarrRowItems + .ZipLongest(radarrRowItems, (s, r) => (s ?? empty, r ?? empty)); - foreach (var (r, s) in items) + foreach (var (s, r) in items) { - table.AddRow(r, s); + table.AddRow(s, r); } _console.Write(table);