From 879cd0cdfc3ab213ca4ca830e96251452637db88 Mon Sep 17 00:00:00 2001 From: dcore94 Date: Wed, 29 Mar 2023 17:18:14 +0200 Subject: [PATCH] sorting by updated --- ccp/js/executionhistorycontroller.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ccp/js/executionhistorycontroller.js b/ccp/js/executionhistorycontroller.js index 5858374..a459057 100644 --- a/ccp/js/executionhistorycontroller.js +++ b/ccp/js/executionhistorycontroller.js @@ -153,6 +153,7 @@ class CCPExecutionHistory extends HTMLElement { (d.method.indexOf(f) !== -1) }) } + this.#filtered.sort((a,b)=>(new Date(a.updated)) - (new Date(b.updated)))) this.groupBy() BSS.apply(this.#execution_list_bss, this.#rootdoc) }