-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
IDC-1532 multiple series search google #2026
Changes from all commits
c590dcc
7c0d144
4fdbf59
9fa43e0
eea35d3
2a5925f
1b50577
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is really weird. Let's hope we never reorganize the arguments to the function. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree, I'd rather have a deconstructed object inside |
||
} | ||
|
||
cancelableStudiesPromises[studyInstanceUIDs] = makeCancelable( | ||
retrieveStudiesMetadata(...retrieveParams) | ||
) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the point of this new promise? isn't it the same as promise = RetrieveMetadata(server, StudyInstanceUID, filters)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just what was in the previous code. Hmm you are right, weird. Removed and tested, all works fine.