Skip to content

fix: don't hide published score sets from search when superseded by unpublished versions#667

Merged
bencap merged 2 commits intorelease-2026.1.1from
bugfix/bencap/656/search-not-returning-results-for-score-sets-with-unpublished-superseder
Feb 26, 2026
Merged

fix: don't hide published score sets from search when superseded by unpublished versions#667
bencap merged 2 commits intorelease-2026.1.1from
bugfix/bencap/656/search-not-returning-results-for-score-sets-with-unpublished-superseder

Conversation

@bencap
Copy link
Collaborator

@bencap bencap commented Feb 24, 2026

The superseding score set filter used a LEFT OUTER JOIN that excluded any score set with a superseding version, regardless of publication status. This caused published score sets (e.g. urn:mavedb:00000049) to disappear from search results when an unpublished draft replacement existed.

Allow superseded score sets through when the superseding version has no published_date. Also enforce published=True on the filter-options endpoint for consistency with the main search endpoint.

@bencap bencap requested review from jstone-dev and sallybg February 24, 2026 01:19
@bencap bencap linked an issue Feb 24, 2026 that may be closed by this pull request
…npublished versions

The superseding score set filter used a LEFT OUTER JOIN that excluded any
score set with a superseding version, regardless of publication status.
This caused published score sets (e.g. urn:mavedb:00000049) to disappear
from search results when an unpublished draft replacement existed.

Allow superseded score sets through when the superseding version has no
published_date. Also enforce published=True on the filter-options endpoint
for consistency with the main search endpoint.
@bencap bencap force-pushed the bugfix/bencap/656/search-not-returning-results-for-score-sets-with-unpublished-superseder branch from a12cd00 to 00a2bc7 Compare February 24, 2026 01:40
Base automatically changed from chore/bencap/agent-md-improvements to release-2026.1.1 February 25, 2026 23:14
…urning-results-for-score-sets-with-unpublished-superseder
@bencap bencap merged commit ee36ec6 into release-2026.1.1 Feb 26, 2026
6 checks passed
@bencap bencap deleted the bugfix/bencap/656/search-not-returning-results-for-score-sets-with-unpublished-superseder branch February 26, 2026 20:37
@bencap bencap mentioned this pull request Mar 2, 2026
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.

Search is not appropriately returning results for certain queries

2 participants