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

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 20 Oct 2015 14:50:10 +0200
parents 7e0b5e413c7c
children 4941494b5dd8
comparison
equal deleted inserted replaced
1725:a7c05bbfaf6a 1727:1ae29c5e52fb
139 } 139 }
140 140
141 std::string value = input.GetValue(tag).AsString(); 141 std::string value = input.GetValue(tag).AsString();
142 142
143 std::list<std::string> ids; 143 std::list<std::string> ids;
144 context_.GetIndex().LookupIdentifier(ids, tag, value, level); 144 context_.GetIndex().LookupIdentifier(ids, level, tag, value);
145 145
146 if (ids.size() != 1) 146 if (ids.size() != 1)
147 { 147 {
148 return false; 148 return false;
149 } 149 }