Mercurial > hg > orthanc
diff OrthancServer/Sources/Search/DicomTagConstraint.cpp @ 4196:37310bb1cd30
Fix handling of "ModalitiesInStudy" (0008,0061) in C-FIND and "/tools/find"
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 16 Sep 2020 13:22:30 +0200 |
parents | 05b8fd21089c |
children | d9473bd5ed43 |
line wrap: on
line diff
--- a/OrthancServer/Sources/Search/DicomTagConstraint.cpp Wed Sep 16 10:22:25 2020 +0200 +++ b/OrthancServer/Sources/Search/DicomTagConstraint.cpp Wed Sep 16 13:22:30 2020 +0200 @@ -154,6 +154,16 @@ } + DicomTagConstraint::DicomTagConstraint(const DicomTagConstraint& other) : + tag_(other.tag_), + constraintType_(other.constraintType_), + values_(other.values_), + caseSensitive_(other.caseSensitive_), + mandatory_(other.mandatory_) + { + } + + DicomTagConstraint::DicomTagConstraint(const DatabaseConstraint& constraint) : tag_(constraint.GetTag()), constraintType_(constraint.GetConstraintType()), @@ -333,7 +343,7 @@ s += *it; } - return s + "]"; + return s + " ]"; } default: