# HG changeset patch # User Sebastien Jodogne # Date 1597333479 -7200 # Node ID 0ea450e1f0ea87c05c37e498118951115467c708 # Parent 99927401587c4cd400df1ec045918d2594050955 "/series/.../ordered-slices" supports spaces in Image Position/Orientation Patient tags diff -r 99927401587c -r 0ea450e1f0ea NEWS --- a/NEWS Tue Aug 11 16:57:34 2020 +0200 +++ b/NEWS Thu Aug 13 17:44:39 2020 +0200 @@ -2,6 +2,7 @@ =============================== * Fix DICOM SCP filters if some query tag has more than 256 characters +* "/series/.../ordered-slices" supports spaces in Image Position/Orientation Patient tags Version 1.7.2 (2020-07-08) diff -r 99927401587c -r 0ea450e1f0ea OrthancServer/Sources/SliceOrdering.cpp --- a/OrthancServer/Sources/SliceOrdering.cpp Tue Aug 11 16:57:34 2020 +0200 +++ b/OrthancServer/Sources/SliceOrdering.cpp Thu Aug 13 17:44:39 2020 +0200 @@ -64,7 +64,8 @@ { try { - result[i] = boost::lexical_cast(tokens[i]); + const std::string token = Toolbox::StripSpaces(tokens[i]); + result[i] = boost::lexical_cast(token); } catch (boost::bad_lexical_cast&) { @@ -182,7 +183,8 @@ { try { - framesCount_ = boost::lexical_cast(frames->GetContent()); + const std::string token = Toolbox::StripSpaces(frames->GetContent()); + framesCount_ = boost::lexical_cast(token); } catch (boost::bad_lexical_cast&) {