From d26749d732f8bb9543f9b55669db8a40f8c9f978 Mon Sep 17 00:00:00 2001 From: dcore94 Date: Wed, 29 Mar 2023 17:18:36 +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 a459057..3d8f4d4 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(a.updated)) - (new Date(b.updated)))) + this.#filtered.sort((a,b)=>(new Date(b.updated)) - (new Date(a.updated)))) this.groupBy() BSS.apply(this.#execution_list_bss, this.#rootdoc) }