diff mbox series

[yocto-autobuilder-helper,3/3] scripts/abint: fix sorting on initial display

Message ID 20240307164245.783037-3-ross.burton@arm.com
State New
Headers show
Series [yocto-autobuilder-helper,1/3] scripts/abint: sort and organise imports | expand

Commit Message

Ross Burton March 7, 2024, 4:42 p.m. UTC
From: Ross Burton <ross.burton@arm.com>

The default sorting was based on the list of seen times, but it should
be based on the latest seen time.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 scripts/abint/abint.html.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/scripts/abint/abint.html.j2 b/scripts/abint/abint.html.j2
index f531649d..580a4a35 100644
--- a/scripts/abint/abint.html.j2
+++ b/scripts/abint/abint.html.j2
@@ -56,7 +56,7 @@ 
         </tr>
       </thead>
       <tbody>
-        {% for bug in bugs|sort(attribute="seen", reverse=True) %}
+        {% for bug in bugs|sort(attribute="latest", reverse=True) %}
         <tr>
           <th scope="row"><a href="http://bugzilla.yoctoproject.org/{{bug.id}}">{{bug.id}}</a></th>
           <td>