Mercurial > hg > orthanc
diff OrthancServer/Sources/ServerContext.cpp @ 5690:708952bd869c find-refactoring
integration tests are passing with ResourceFinder
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 09 Jul 2024 18:05:54 +0200 |
parents | d0a264b803f1 |
children | c8d21a09aae6 2b05428843d2 |
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerContext.cpp Tue Jul 09 15:56:53 2024 +0200 +++ b/OrthancServer/Sources/ServerContext.cpp Tue Jul 09 18:05:54 2024 +0200 @@ -1564,12 +1564,6 @@ ResourceFinder finder(queryLevel, false /* TODO-FIND: don't expand for now */); finder.SetDatabaseLimits(databaseLimit); - - if (databaseLimit != 0) - { - finder.SetLimits(0, databaseLimit + 1); - } - finder.SetDatabaseLookup(lookup); finder.SetLabels(labels); finder.SetLabelsConstraint(labelsConstraint);