Fix sort not executing if order kept the same.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Captain ALM 2022-07-30 21:17:02 +01:00
parent f79020c95d
commit a314ffa2b1
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1

View File

@ -204,12 +204,12 @@ function EntrySort(o, s) {
chg = true
SortValue = s
}
if (chg || OrderValue !== o) {
if (ts === "desc" || ts === "descending") {
ts = -1
} else {
ts = 1
}
if (OrderValue !== o) {
var to = o.toString().toLowerCase()
if (to === "start") {
if (ts < 0) {