diff 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
line wrap: on
line diff
--- a/Framework/Plugins/IndexBackend.cpp	Wed Apr 05 14:53:36 2023 +0200
+++ b/Framework/Plugins/IndexBackend.cpp	Sat Apr 15 13:49:53 2023 +0200
@@ -2070,9 +2070,10 @@
   {
     LookupFormatter formatter(manager.GetDialect());
 
+    std::set<std::string> noLabels;
     std::string sql;
-    Orthanc::ISqlLookupFormatter::Apply(sql, formatter, lookup,
-                                        Orthanc::Plugins::Convert(queryLevel), limit);
+    Orthanc::ISqlLookupFormatter::Apply(sql, formatter, lookup, Orthanc::Plugins::Convert(queryLevel),
+                                        noLabels, Orthanc::LabelsConstraint_All, limit);
 
     if (requestSomeInstance)
     {