
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeI can see you're experiencing an issue with filtered document lists in Sanity Studio, but your question appears to have been cut off - you mentioned they're "showing this when loaded:" but didn't include what's actually being displayed. However, I can help you with the most likely culprit based on recent changes.
The most common cause right now is the API perspective change:
On February 24, 2025, Sanity released API version 2025-02-19 which includes a breaking change: the default perspective switched from raw to published. This means:
drafts. prefix) won't appear unless you explicitly set the perspectiveTo fix this in your Structure Tool configuration:
S.documentList()
.title("Your Filtered List")
.filter('_type == "yourType" && yourCondition')
.apiVersion('2024-01-01') // Use an older API versionOr if you want to see drafts with the new API version, you'll need to adjust your filter to account for the perspective change, or configure your Structure Tool to use perspective=raw or perspective=previewDrafts.
Other things to check:
$today), ensure they're properly definedCan you share what's actually displaying (error message, blank screen, empty list, etc.) so I can give you more specific guidance?
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.
Content operations
Content backend


The only platform powering content operations
By Industry


Tecovas strengthens their customer connections
Build and Share

Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag store