Skip to content

fix: exclude RSS/email from research section perspectives#742

Merged
bokelley merged 1 commit into
mainfrom
bokelley/fix-research-perspectives
Jan 13, 2026
Merged

fix: exclude RSS/email from research section perspectives#742
bokelley merged 1 commit into
mainfrom
bokelley/fix-research-perspectives

Conversation

@bokelley

@bokelley bokelley commented Jan 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fixed research section at /latest/research showing random RSS news instead of member perspectives
  • The previous fix (fix: separate research section to show perspectives instead of RSS #740) queried perspectives where working_group_id IS NULL, but this included RSS/email content since those are also stored in the perspectives table with source_type='rss' or source_type='email'
  • Added filter to only show member perspectives where source_type IS NULL OR source_type NOT IN ('rss', 'email')

Changes

  • Added source_type filter to getResearchArticleCount() function
  • Added source_type filter to the research section articles query
  • Made query aliasing consistent (using p. prefix in both queries)
  • Added empty changeset with description

Test plan

  • Tested locally with Vibium browser - research section now shows member perspectives (48 articles) instead of RSS content (was 552)
  • Deploy to production
  • Verify /api/latest/sections/research/articles returns member perspectives, not RSS content

🤖 Generated with Claude Code

The previous fix (#740) queried perspectives where working_group_id IS NULL,
but this inadvertently included RSS and email content since those are also
stored in the perspectives table with source_type='rss' or source_type='email'.

This fix adds a filter to only show member perspectives (where source_type
is NULL or not 'rss'/'email'), ensuring the research section shows actual
thought leadership content instead of imported RSS feeds.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley force-pushed the bokelley/fix-research-perspectives branch from 2a7b45d to 4377e71 Compare January 13, 2026 11:31
@bokelley bokelley merged commit 1e73d71 into main Jan 13, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant