Studio not passing 'viewOptions' into preview prepare() function
Describe the bug
Following the example to tailor the preview to the active sort order as described in the docs, Studio is not passing in viewOptions:
https://www.sanity.io/docs/sort-orders#conditionally-render-a-preview-based-on-current-sort-option-d040558b4093
This bug is also discussed on Slack where others are experiencing the same: https://app.slack.com/client/T9Y440GN8/threads/thread/C9Z7RC3V1-1579984491.176500
Hey! What is the current status of this, or is there a workaround? 😃
We disabled most orderings for now, because we found it more confusing than helpful if the previews do not adjust.
Still a bug, viewOptions are not passed
I am missing this functionality too :-/
Bumping this... wondering why it hasn't been resolved after over 2 years have passed?
Bumping this once again. Just wasted a lot of time trying to get this to work, only to realize this has been a long standing bug that is not reflected in the docs.