sorgerlab / CancerBrowser

HMS LINCS Cancer Browser
5 stars 3 forks source link

Reset filters when leaving a page #122

Closed pbeshai closed 8 years ago

pbeshai commented 8 years ago

Resets filters when leaving Cell Line Browser or Drug Browser pages, resolves #120. Another solution would have been to specify which filterGroups apply to the page when doing something like fetchCellLines e.g. fetchCellLines(filters, filterGroups, ['cellLineFilters']) or to specify the filterGroups directly as an array:

fetchCellLines(filters, _.compact(relevantFilterGroupKeys.map(key => filterGroups[key])))
pbeshai commented 8 years ago

ping @vlandham

vlandham commented 8 years ago

+1