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