From eedfca72738167660227f451feb2ba81393d0a65 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 8 Jan 2024 18:48:05 +0000 Subject: [PATCH] fireinfo: Fix rendering the processors page Fixes: #13489 Signed-off-by: Michael Tremer --- src/templates/fireinfo/processors.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/templates/fireinfo/processors.html b/src/templates/fireinfo/processors.html index e8528f3e..78367619 100644 --- a/src/templates/fireinfo/processors.html +++ b/src/templates/fireinfo/processors.html @@ -38,7 +38,9 @@ {% for arch in sorted(map) %}

{{ arch }}

- {% for flag, percentage in flags[platform] %} + {% for flag in sorted(map[arch], key=lambda f: map[arch][f], reverse=True) %} + {% set p = map[arch][flag] %} +
{% if flag == "aes" %} -- 2.47.3