comparison Framework/Plugins/IndexBackend.cpp @ 405:1938ba8fba35

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 15 Apr 2023 13:49:53 +0200
parents 3d6886f3e5b3
children de6de66d70b2
comparison
equal deleted inserted replaced
394:2fd272ea8f00 405:1938ba8fba35
2068 uint32_t limit, 2068 uint32_t limit,
2069 bool requestSomeInstance) 2069 bool requestSomeInstance)
2070 { 2070 {
2071 LookupFormatter formatter(manager.GetDialect()); 2071 LookupFormatter formatter(manager.GetDialect());
2072 2072
2073 std::set<std::string> noLabels;
2073 std::string sql; 2074 std::string sql;
2074 Orthanc::ISqlLookupFormatter::Apply(sql, formatter, lookup, 2075 Orthanc::ISqlLookupFormatter::Apply(sql, formatter, lookup, Orthanc::Plugins::Convert(queryLevel),
2075 Orthanc::Plugins::Convert(queryLevel), limit); 2076 noLabels, Orthanc::LabelsConstraint_All, limit);
2076 2077
2077 if (requestSomeInstance) 2078 if (requestSomeInstance)
2078 { 2079 {
2079 // Composite query to find some instance if requested 2080 // Composite query to find some instance if requested
2080 switch (queryLevel) 2081 switch (queryLevel)