($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: ross.burton@arm.com
To: yocto@lists.yoctoproject.org
Subject: [PATCH yocto-autobuilder-helper 3/3] scripts/abint: fix sorting on initial display
Date: Thu,  7 Mar 2024 16:42:45 +0000	[thread overview]
Message-ID: <20240307164245.783037-3-ross.burton@arm.com> (raw)
In-Reply-To: <20240307164245.783037-1-ross.burton@arm.com>

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 --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>
-- 
2.34.1



      parent reply	other threads:[~2024-03-07 16:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-07 16:42 [PATCH yocto-autobuilder-helper 1/3] scripts/abint: sort and organise imports ross.burton
2024-03-07 16:42 ` [PATCH yocto-autobuilder-helper 2/3] scripts/abint: add argument parser ross.burton
2024-03-07 16:42 ` ross.burton [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240307164245.783037-3-ross.burton@arm.com \
    --to=ross.burton@arm.com \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).