diff options
author | Lars Wirzenius <liw@liw.fi> | 2024-01-22 09:49:52 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2024-01-22 09:49:52 +0200 |
commit | 370f70fb24ee76834fd1af748819848b93088c53 (patch) | |
tree | ff2e219eecb1840c1d99717913576f2c2bfa642f | |
parent | c4d4fe11e1bf7c06472ee406a22f9d9e74c10543 (diff) | |
download | radicle-native-ci-370f70fb24ee76834fd1af748819848b93088c53.tar.gz |
fix: reverse order of runs
Signed-off-by: Lars Wirzenius <liw@liw.fi>
-rw-r--r-- | src/report.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/report.rs b/src/report.rs index f92dfbe..506dc41 100644 --- a/src/report.rs +++ b/src/report.rs @@ -73,6 +73,7 @@ fn list_runs(repos: &[&str], run_infos: &[RunInfo]) -> Document { let mut list = Element::new(Tag::Ol).with_class("runlist"); let mut runs = runs_for_repo(repo, run_infos); runs.sort_by(|a, b| b.timestamp.cmp(&a.timestamp)); + runs.reverse(); for ri in runs_for_repo(repo, run_infos) { let commit = Element::new(Tag::Code) .with_class("commit") |