From b16f36d4ea80d4a842281814239aaa23430c5c65 Mon Sep 17 00:00:00 2001 From: Viren070 Date: Fri, 13 Jun 2025 17:04:59 +0100 Subject: [PATCH] fix: update cached sorting to prefer all streams that are not explicitly marked as uncached --- packages/core/src/main.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/core/src/main.ts b/packages/core/src/main.ts index 9816c604..329e8b24 100644 --- a/packages/core/src/main.ts +++ b/packages/core/src/main.ts @@ -2435,10 +2435,7 @@ ${errorStreams.length > 0 ? ` ❌ Errors : ${errorStreams.map((s) => ` const multiplier = direction === 'asc' ? 1 : -1; switch (key) { case 'cached': - return ( - multiplier * - (stream.service?.cached || stream.type === 'http' ? 1 : 0) - ); + return multiplier * (stream.service?.cached !== false ? 1 : 0); case 'library': return multiplier * (stream.library ? 1 : 0);