Mercurial > hg > orthanc
diff OrthancServer/ServerToolbox.cpp @ 1729:54d78925cbb6 db-changes
notes
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 20 Oct 2015 17:39:58 +0200 |
parents | a7c05bbfaf6a |
children | b3de74dec2d5 |
line wrap: on
line diff
--- a/OrthancServer/ServerToolbox.cpp Tue Oct 20 15:03:52 2015 +0200 +++ b/OrthancServer/ServerToolbox.cpp Tue Oct 20 17:39:58 2015 +0200 @@ -190,7 +190,7 @@ tag != DICOM_TAG_SOP_INSTANCE_UID && tag != DICOM_TAG_ACCESSION_NUMBER) { - s = NormalizeIdentifierTag(s); + s = NormalizeTagForWildcard(s); } database.SetIdentifierTag(resource, tag, s); @@ -355,7 +355,7 @@ } - std::string NormalizeIdentifierTag(const std::string& value) + std::string NormalizeTagForWildcard(const std::string& value) { std::string s = Toolbox::ConvertToAscii(Toolbox::StripSpaces(value)); Toolbox::ToUpperCase(s);