dandi / dandi-archive

DANDI API server and Web app
https://dandiarchive.org
13 stars 9 forks source link

showDraft=False not working for links #1668

Open bendichter opened 1 year ago

bendichter commented 1 year ago

If I share a link with this value, the property is not set properly when loading the page, e.g.

image
yarikoptic commented 12 months ago

confirming. Having showDraft=False in a URL, like https://dandiarchive.org/dandiset/search?search=data&page=1&sortOption=0&sortDir=-1&showDrafts=false&showEmpty=false is not sufficient to not show datasets with draft versions. You really need to switch that option in the "gear" settings. So, it seems that web UI doing something fancy and just reflects it in the URL but not really reading it from URL.