comparison OrthancServer/OrthancRestApi/OrthancRestResources.cpp @ 1727:1ae29c5e52fb db-changes

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 20 Oct 2015 14:50:10 +0200
parents f1901004f3e4
children 4941494b5dd8
comparison
equal deleted inserted replaced
1725:a7c05bbfaf6a 1727:1ae29c5e52fb
890 const DicomTag& tag, 890 const DicomTag& tag,
891 const std::string& value, 891 const std::string& value,
892 ResourceType level) 892 ResourceType level)
893 { 893 {
894 std::list<std::string> tmp; 894 std::list<std::string> tmp;
895 index.LookupIdentifier(tmp, tag, value, level); 895 index.LookupIdentifier(tmp, level, tag, value);
896 896
897 for (std::list<std::string>::const_iterator 897 for (std::list<std::string>::const_iterator
898 it = tmp.begin(); it != tmp.end(); ++it) 898 it = tmp.begin(); it != tmp.end(); ++it)
899 { 899 {
900 result.push_back(std::make_pair(level, *it)); 900 result.push_back(std::make_pair(level, *it));