Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fetchGenericAssayDataCounts endpoint #8881

Merged
merged 1 commit into from
Sep 8, 2021

Conversation

dippindots
Copy link
Member

@dippindots dippindots commented Sep 1, 2021

Update /generic-assay-data-counts/fetch endpoint to correct data count for single chart filtering operation

In the study view page, we fetch single chart for calling /generic-assay-data-counts/fetch again, and at this time, we do not want to get filtered data count from that endpoint. We want to get original data count without filtering, because we want to show unselected portion of the chart, this change it to update this logic.

Note: this endpoint is in development, there is no frontend usage right now.

@dippindots dippindots self-assigned this Sep 1, 2021
@sonarcloud
Copy link

sonarcloud bot commented Sep 1, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@dippindots dippindots added the bug label Sep 1, 2021
@@ -508,6 +508,12 @@ private void init() {

List<GenericAssayDataFilter> gaFilters = interceptedGenericAssayDataCountFilter.getGenericAssayDataFilters();
StudyViewFilter studyViewFilter = interceptedGenericAssayDataCountFilter.getStudyViewFilter();
// when there is only one filter, it means study view is doing a single chart filter operation
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this not also necessary when there are more than one filters?

@alisman alisman merged commit f980de0 into cBioPortal:master Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants