IDC-1532 multiple series search google (#2026)
* Multiple series search for google cloud adapter.
* Revert IDC config.
* fix: 🐛 Series filtering on multiple series for google
* Revert changes to default config.
* Address reviewers comments.
* Fixed spelling mistakes
This commit is contained in:
1 parent
45ca88f5b8
commit
f38979037d
4 files changed
+91
-8
No files matched your search
@@ -7,9 +7,11 @@ window.config = function(props) {
|
||||
enableGoogleCloudAdapter: true,
|
||||
enableGoogleCloudAdapterUI: false,
|
||||
showStudyList: true,
|
||||
filterQueryParam: true,
|
||||
httpErrorHandler: error => {
|
||||
// This is 429 when rejected from the public idc sandbox too often.
|
||||
console.warn(error.status);
|
||||
|
||||
// Could use services manager here to bring up a dialog/modal if needed.
|
||||
console.warn('test, navigate to https://ohif.org/');
|
||||
window.location = 'https://ohif.org/';
|
||||
|
||||
@@ -88,6 +88,7 @@ const _isQueryParamApplied = (study, filters = {}, isFilterStrategy) => {
|
||||
const { seriesInstanceUID } = filters;
|
||||
let applied = true;
|
||||
// skip in case no filter or no toast manager
|
||||
|
||||
if (!seriesInstanceUID) {
|
||||
return applied;
|
||||
}
|
||||
@@ -340,6 +341,10 @@ function ViewerRetrieveStudyData({
|
||||
}
|
||||
}
|
||||
|
||||
if (appConfig.enableGoogleCloudAdapter) {
|
||||
retrieveParams.push(true); // Seperate SeriesInstanceUID filter calls.
|
||||
}
|
||||
|
||||
cancelableStudiesPromises[studyInstanceUIDs] = makeCancelable(
|
||||
retrieveStudiesMetadata(...retrieveParams)
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user