diff --git a/src/app/(main)/NavBar.tsx b/src/app/(main)/NavBar.tsx index b82d786..c0da6aa 100644 --- a/src/app/(main)/NavBar.tsx +++ b/src/app/(main)/NavBar.tsx @@ -22,7 +22,6 @@ export default async function NavBar() {
-
}> diff --git a/src/components/Player.tsx b/src/components/Player.tsx index 60b4ed8..f052435 100644 --- a/src/components/Player.tsx +++ b/src/components/Player.tsx @@ -81,7 +81,9 @@ const Player = ({ artistSlugsToName }: Props) => { onClick={() => player.togglePlayPause()} > )} diff --git a/src/redux/modules/tapes.js b/src/redux/modules/tapes.js index 1e811c7..aa4b4cc 100644 --- a/src/redux/modules/tapes.js +++ b/src/redux/modules/tapes.js @@ -64,15 +64,19 @@ const sortTapes = (data = {}) => { const sortedTapes = data && data.sources ? [...data.sources].sort( - firstBy((t) => t.is_soundboard) + firstBy((t) => t.is_soundboard, 'desc') // Charlie for GD, Pete for JRAD .thenBy((t) => - /(charlie miller)|(peter costello)/i.test([t.taper, t.transferrer, t.source].join('')) + /(charlie miller)|(peter costello)/i.test( + [t.taper, t.transferrer, t.source].join(''), + 'desc' + ) ) .thenBy( - (t1, t2) => getEtreeId(t1.upstream_identifier) - getEtreeId(t2.upstream_identifier) + (t1, t2) => getEtreeId(t1.upstream_identifier) - getEtreeId(t2.upstream_identifier), + 'desc' ) - .thenBy((t) => t.avg_rating_weighted) + .thenBy((t) => t.avg_rating_weighted, 'desc') ) : [];