From 21142cae5f58022b260dfb5e999a3ba702231406 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Sat, 31 Oct 2026 14:08:54 -0400 Subject: [PATCH] =?UTF-8?q?chore(router):=20remove=20the=20CHAINDBG=20prob?= =?UTF-8?q?e=20=E2=80=94=20the=20curated-order=20path=20is=20browser-verif?= =?UTF-8?q?ied?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The debug print served its purpose: the stale-binary native-order render was an artifact of an incomplete rebuild, not code. Fresh container resolves view_settings.chain_order and the chain plays in the curated order (newest-first verified on a 23-episode feed with a date tie at the tail, handled by the position tie-break). --- internal/router/reader.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/router/reader.go b/internal/router/reader.go index 69f29e05..d9d807d6 100644 --- a/internal/router/reader.go +++ b/internal/router/reader.go @@ -243,13 +243,13 @@ func buildPodcastSequenceContext(c *echo.Context, cfg *Config, item *database.Me } seq := &templates.PodcastSequenceContext{ - FeedURL: "/podcasts/" + uuid.UUID(item.SourceFeedID.Bytes).String(), - FeedTitle: feed.Title, + FeedURL: "/podcasts/" + uuid.UUID(item.SourceFeedID.Bytes).String(), + FeedTitle: feed.Title, // R2: this producer is the feed queue. The player's order // control renders only for this source. - Source: "feed", - FeedID: uuid.UUID(item.SourceFeedID.Bytes).String(), - Order: order, + Source: "feed", + FeedID: uuid.UUID(item.SourceFeedID.Bytes).String(), + Order: order, EpisodeIndex: idx + 1, IndexTotal: len(ordered), }