Mercurial > hg > orthanc
diff OrthancServer/Sources/OrthancWebDav.cpp @ 5850:1980354c8113 find-refactoring
add level of interest to StatelessDatabaseOperations::LookupAttachment()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 29 Oct 2024 15:03:32 +0000 |
parents | 58c549b881ae |
children | ea547160f27e |
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancWebDav.cpp Tue Oct 29 14:05:59 2024 +0000 +++ b/OrthancServer/Sources/OrthancWebDav.cpp Tue Oct 29 15:03:32 2024 +0000 @@ -452,7 +452,7 @@ FileInfo info; int64_t revision; // Ignored - if (context_.GetIndex().LookupAttachment(info, revision, *it, FileContentType_Dicom)) + if (context_.GetIndex().LookupAttachment(info, revision, ResourceType_Instance, *it, FileContentType_Dicom)) { std::unique_ptr<File> resource(new File(*it + ".dcm")); resource->SetMimeType(MimeType_Dicom);