Mercurial > hg > orthanc
comparison OrthancServer/Sources/ServerContext.cpp @ 5248:a7d95f951f8a db-protobuf
replaced "WithLabels" and "WithoutLabels", by "Labels" and "LabelsConstraint"
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 07 Apr 2023 22:18:37 +0200 |
parents | 3a61fd50f804 |
children | c04230962098 5053a10da5a2 |
comparison
equal
deleted
inserted
replaced
5247:eb2684260c19 | 5248:a7d95f951f8a |
---|---|
1448 } | 1448 } |
1449 | 1449 |
1450 { | 1450 { |
1451 const size_t lookupLimit = (databaseLimit == 0 ? 0 : databaseLimit + 1); | 1451 const size_t lookupLimit = (databaseLimit == 0 ? 0 : databaseLimit + 1); |
1452 GetIndex().ApplyLookupResources(resources, &instances, *fastLookup, queryLevel, | 1452 GetIndex().ApplyLookupResources(resources, &instances, *fastLookup, queryLevel, |
1453 lookup.GetWithLabels(), lookup.GetWithoutLabels(), lookupLimit); | 1453 lookup.GetLabels(), lookup.GetLabelsConstraint(), lookupLimit); |
1454 } | 1454 } |
1455 | 1455 |
1456 bool complete = (databaseLimit == 0 || | 1456 bool complete = (databaseLimit == 0 || |
1457 resources.size() <= databaseLimit); | 1457 resources.size() <= databaseLimit); |
1458 | 1458 |