Mercurial > hg > orthanc
diff OrthancServer/Search/RangeConstraint.cpp @ 1754:3a4f7dc00f49 db-changes
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 28 Oct 2015 11:31:58 +0100 |
parents | 99f4a05f39fa |
children | 03b030680e3d |
line wrap: on
line diff
--- a/OrthancServer/Search/RangeConstraint.cpp Tue Oct 27 20:31:34 2015 +0100 +++ b/OrthancServer/Search/RangeConstraint.cpp Wed Oct 28 11:31:58 2015 +0100 @@ -46,7 +46,7 @@ upper_(upper), isCaseSensitive_(isCaseSensitive) { - if (isCaseSensitive_) + if (!isCaseSensitive_) { Toolbox::ToUpperCase(lower_); Toolbox::ToUpperCase(upper_); @@ -65,7 +65,7 @@ { std::string v = value; - if (isCaseSensitive_) + if (!isCaseSensitive_) { Toolbox::ToUpperCase(v); }