Mercurial > hg > orthanc
diff OrthancServer/DicomProtocol/DicomUserConnection.cpp @ 2006:6301bbcbcaed
more generic support of value representations
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 09 Jun 2016 14:48:40 +0200 |
parents | 9e021b2b348b |
children | 655489d9165d |
line wrap: on
line diff
--- a/OrthancServer/DicomProtocol/DicomUserConnection.cpp Wed Jun 08 12:36:21 2016 +0200 +++ b/OrthancServer/DicomProtocol/DicomUserConnection.cpp Thu Jun 09 14:48:40 2016 +0200 @@ -496,7 +496,7 @@ for (std::set<DicomTag>::const_iterator it = tags.begin(); it != tags.end(); ++it) { - if (FromDcmtkBridge::GetValueRepresentation(*it) == ValueRepresentation_Date) + if (FromDcmtkBridge::LookupValueRepresentation(*it) == ValueRepresentation_Date) { // Replace a "*" query by an empty query ("") for "date" // value representations. Necessary to search over dates