Skip to content

Commit

Permalink
Fix Rebase issues with master
Browse files Browse the repository at this point in the history
  • Loading branch information
haynescd committed Nov 25, 2024
1 parent 53c7126 commit 2b45019
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,15 +200,15 @@ public List<ClinicalDataCountItem> getClinicalDataCountsFromCustomData(Collectio
}

public boolean isSingleStudyUnfiltered(StudyViewFilter filter) {
return isSingleStudy(filter) && isUnfiltered(filter);
return isSingleStudy(filter) && isUnfilteredQuery(filter);
}

public boolean isSingleStudy(StudyViewFilter filter) {
return filter.getStudyIds() != null &&
filter.getStudyIds().size() == 1;
}

public boolean isUnfiltered(StudyViewFilter filter) {
public boolean isUnfilteredQuery(StudyViewFilter filter) {
return filter.getStudyIds() != null &&
(filter.getClinicalDataFilters() == null || filter.getClinicalDataFilters().isEmpty()) &&
(filter.getGeneFilters() == null || filter.getGeneFilters().isEmpty()) &&
Expand Down

0 comments on commit 2b45019

Please sign in to comment.