mirror of
https://github.com/BreizhHardware/Jellystat.git
synced 2026-01-18 16:27:20 +01:00
Merge pull request #88 from LaSylv/fix-sort-TotalWatchTime
fix sort totalWatchTime
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -9,6 +9,7 @@
|
||||
/coverage
|
||||
/backend/backup-data
|
||||
.vscode
|
||||
.idea
|
||||
|
||||
# production
|
||||
/build
|
||||
|
||||
@@ -281,7 +281,7 @@ function Users() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (orderBy === 'TotalPlays') {
|
||||
if (orderBy === 'TotalPlays' || orderBy === 'TotalWatchTime') {
|
||||
let order_a = parseInt(a[orderBy]);
|
||||
let order_b = parseInt(b[orderBy]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user