Skip to content

Commit

Permalink
Merge pull request #11152 from cBioPortal/fix-cache-annotation-resour…
Browse files Browse the repository at this point in the history
…ce-data

Fix cache annotation resource data
  • Loading branch information
inodb authored Nov 1, 2024
2 parents 8c934c4 + 79e72ab commit df9d9a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/cbioportal/web/ResourceDataController.java
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ public ResponseEntity<List<ResourceData>> getAllStudyResourceDataInStudyPatientS
}

@Cacheable(
cacheResolver = "staticRepositoryCacheOneResolver"
//condition = "@cacheEnabledConfig.getEnabled() && #unfilteredQuery && (#sortBy == null || #sortBy.isEmpty())"
cacheResolver = "staticRepositoryCacheOneResolver",
condition = "@cacheEnabledConfig.getEnabled()"
)
public List<ResourceData> cacheableFetchAllResourceDataForStudyPatientSample(String studyId, String resourceId, String projectionName,
Integer pageSize, Integer pageNumber, String sortBy, String directionName) throws StudyNotFoundException {
Expand Down

0 comments on commit df9d9a5

Please sign in to comment.