Skip to content

Search filters are populated from all score sets, not just a users viewable subset #614

@bencap

Description

@bencap

To reproduce:

  • Load the data set search page
  • Click on a filter with a target gene such as XPA
  • Observe the available score sets are less than the advertised number.

This occurs because the filters are not constructed without knowledge of the score sets/experiments to which a user has the appropriate viewership permissions. These data sets are filtered appropriately so the user may not see them, but this represents a confusing user experience on the search page.

We should construct this filter list from a list of data sets the user has permission for so the count of each filter is appropriate. Note that we should be wary of potential performance issues with such a query.

Metadata

Metadata

Assignees

Labels

app: backendTask implementation touches the backendtype: bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions