changeset 796:0f0c9103fea8

fix build
author Alain Mazy <am@orthanc.team>
date Mon, 26 Jan 2026 12:37:00 +0100
parents 14ca14e0fd1e
children fb668ef280af
files Framework/Plugins/ISqlLookupFormatter.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Plugins/ISqlLookupFormatter.cpp	Thu Jan 22 07:01:09 2026 +0100
+++ b/Framework/Plugins/ISqlLookupFormatter.cpp	Mon Jan 26 12:37:00 2026 +0100
@@ -1040,7 +1040,7 @@
       where.push_back("(SELECT COUNT(1) FROM Labels AS selectedLabels WHERE selectedLabels.id = " + strQueryLevel +
                       ".internalId AND selectedLabels.label IN (" + Join(formattedLabels, "", ", ") + ")) " + condition);
     }
-    else if (request.labels_constraint() == ::Orthanc::DatabasePluginMessages::LabelsConstraintType::LABELS_CONSTRAINT_NONE) // from 1.12.11, 'None' with an empty labels list means "list all resources without any labels"
+    else if (request.labels_constraint() == Orthanc::DatabasePluginMessages::LABELS_CONSTRAINT_NONE) // from 1.12.11, 'None' with an empty labels list means "list all resources without any labels"
     {
       where.push_back("(SELECT COUNT(1) FROM Labels WHERE id = " + FormatLevel(queryLevel) + ".internalId) = 0");
     }