Mercurial > hg > orthanc
diff OrthancServer/Sources/OrthancWebDav.cpp @ 4936:8422e4f99a18 more-tags
Handling RequestedTags in ExpandResource -> read parent main dicom tags if required. Not yet getting missing tags from file. Integration tests ok
author | Alain Mazy <am@osimis.io> |
---|---|
date | Fri, 11 Mar 2022 17:38:16 +0100 |
parents | acd3f72e2a21 |
children | d4e5ca0c9307 |
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancWebDav.cpp Thu Mar 10 19:00:43 2022 +0100 +++ b/OrthancServer/Sources/OrthancWebDav.cpp Fri Mar 11 17:38:16 2022 +0100 @@ -259,7 +259,9 @@ const Json::Value* dicomAsJson /* unused (*) */) ORTHANC_OVERRIDE { Json::Value resource; - if (context_.ExpandResource(resource, publicId, level_, DicomToJsonFormat_Human)) + std::set<DicomTag> emptyRequestedTags; // not supported for webdav + + if (context_.ExpandResource(resource, publicId, level_, DicomToJsonFormat_Human, emptyRequestedTags)) { if (success_) {