Radish alpha
r
rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE
Radicle CI adapter for native CI
Radicle
Git
fix: reverse order of runs
Lars Wirzenius committed 2 years ago
commit 370f70fb24ee76834fd1af748819848b93088c53
parent c4d4fe1
1 file changed +1 -0
modified 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")