Split query parameter calls. (#2035)

This commit is contained in:
James Petts 2020-09-09 13:59:07 +01:00 committed by GitHub
parent e5b578bd8e
commit d9231fd431
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -5,6 +5,7 @@ window.config = function(props) {
disableMeasurementPanel: true,
routerBasename: '/',
enableGoogleCloudAdapter: true,
splitQueryParameterCalls: true, // Allows the user to split QIDO SeriesInstanceUID filters into multiple calls, if the server does not support multi-valued query parameters.
enableGoogleCloudAdapterUI: false,
showStudyList: true,
filterQueryParam: true,

View File

@ -341,7 +341,10 @@ function ViewerRetrieveStudyData({
}
}
if (appConfig.enableGoogleCloudAdapter) {
if (
appConfig.splitQueryParameterCalls ||
appConfig.enableGoogleCloudAdapter
) {
retrieveParams.push(true); // Seperate SeriesInstanceUID filter calls.
}