Skip to content

Commit

Permalink
Bump hls.js and sqlite sort by length desc
Browse files Browse the repository at this point in the history
  • Loading branch information
SimplyBoo6 committed Jul 1, 2024
1 parent 363c621 commit 31e659e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/src/database/sqlite/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,8 @@ export function buildMediaQuery(
switch (constraints.sortBy) {
case 'hashDate': // fallthrough
case 'rating': // fallthrough
case 'createdAt':
case 'createdAt': // fallthrough
case 'length':
constraints.sortDirection = 'DESC';
break;
case 'order': // fallthrough
Expand Down

0 comments on commit 31e659e

Please sign in to comment.