From b30f7dc616a1f7b6b35a0f84b82829efa77782a3 Mon Sep 17 00:00:00 2001 From: Marcus Sand <15278940+HeroGamers@users.noreply.github.com> Date: Tue, 13 Aug 2024 22:10:53 +0200 Subject: [PATCH] feat(Packages.elm): sort provided programs for packages 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 a4099746..792ab42b 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 =