You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the user sets a display preference there might be a bug where a new row is being added rather the existing one being updated. This query should give a single row which is the owner's preference for a single-gene display on an example dataset, but it's returning three rows:
SELECT dd.label, dd.plotly_config
FROM dataset d
JOIN dataset_display dd ON d.id = dd.dataset_id
JOIN dataset_preference dp ON d.id=dp.dataset_id
WHERE dp.user_id = d.owner_id
AND dd.user_id = d.owner_id
AND dp.is_multigene = 0
AND d.id = 'deb21a3b-677c-13e6-92cc-740fe8505e7c';
It's also worth noting that one of those is clearly a multi-gene configuration, so that also isn't being saved right somewhere (or at least at some point wasn't).
The text was updated successfully, but these errors were encountered:
When the user sets a display preference there might be a bug where a new row is being added rather the existing one being updated. This query should give a single row which is the owner's preference for a single-gene display on an example dataset, but it's returning three rows:
It's also worth noting that one of those is clearly a multi-gene configuration, so that also isn't being saved right somewhere (or at least at some point wasn't).
The text was updated successfully, but these errors were encountered: