Skip to content
This repository has been archived by the owner on Aug 15, 2019. It is now read-only.

Commit

Permalink
fix(Studies): qidoSupportsIncludeField property should be true by def…
Browse files Browse the repository at this point in the history
…ault (#68)

fix #63
  • Loading branch information
joao-f-medeiros authored and swederik committed Aug 14, 2019
1 parent d126655 commit 5156dab
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/studies/services/qido/studies.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,13 @@ export default function Studies(server, filter) {
};

const dicomWeb = new api.DICOMwebClient(config);
let serverSupportsQIDOIncludeField = server.qidoSupportsIncludeField;
if (serverSupportsQIDOIncludeField === undefined) {
serverSupportsQIDOIncludeField = true;
}
const queryParams = getQIDOQueryParams(
filter,
server.qidoSupportsIncludeField
serverSupportsQIDOIncludeField
);
const options = {
queryParams,
Expand Down

0 comments on commit 5156dab

Please sign in to comment.