# HG changeset patch # User Alain Mazy # Date 1769427420 -3600 # Node ID 0f0c9103fea8f93c9a2a77760aa613937c002eee # Parent 14ca14e0fd1e3bdbffc07f60e8522a8d5ba06e4f fix build diff -r 14ca14e0fd1e -r 0f0c9103fea8 Framework/Plugins/ISqlLookupFormatter.cpp --- 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"); }