Mercurial > hg > orthanc
diff OrthancServer/Sources/SliceOrdering.cpp @ 4460:6831de40acd9
New metadata automatically computed at the series level: "RemoteAET"
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 20 Jan 2021 14:20:37 +0100 |
parents | d9473bd5ed43 |
children | 95ffe3b6ef7c |
line wrap: on
line diff
--- a/OrthancServer/Sources/SliceOrdering.cpp Wed Jan 20 13:30:54 2021 +0100 +++ b/OrthancServer/Sources/SliceOrdering.cpp Wed Jan 20 14:20:37 2021 +0100 @@ -208,7 +208,7 @@ try { - if (index.LookupMetadata(s, instanceId, MetadataType_Instance_IndexInSeries)) + if (index.LookupMetadata(s, instanceId, ResourceType_Instance, MetadataType_Instance_IndexInSeries)) { indexInSeries_ = boost::lexical_cast<size_t>(Toolbox::StripSpaces(s)); hasIndexInSeries_ = true;