From d56ef06c2e9f2b28916592979c96e917ebe5db14 Mon Sep 17 00:00:00 2001 From: Marcus Sand <15278940+HeroGamers@users.noreply.github.com> Date: Tue, 10 Sep 2024 17:28:35 +0200 Subject: [PATCH] feat(Packages.elm): sort provided programs for packages (#821) The provided programs with a package were not sorted, making it hard to figure out which programs were included in programs with 20+ programs in random order. --- frontend/src/Page/Packages.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Page/Packages.elm b/frontend/src/Page/Packages.elm index a409974..792ab42 100644 --- a/frontend/src/Page/Packages.elm +++ b/frontend/src/Page/Packages.elm @@ -505,7 +505,7 @@ viewResultItem nixosChannels channel showInstallDetails show item = p [] [ text "This package provides no programs." ] else - p [] (List.intersperse (text " ") (List.map (\p -> code [] [ text p ]) item.source.programs)) + p [] (List.intersperse (text " ") (List.map (\p -> code [] [ text p ]) (List.sort item.source.programs))) ] longerPackageDetails =