diff OrthancServer/Sources/Search/DatabaseConstraint.cpp @ 5568:b0b5546f1b9f find-refactoring

find refactor: re-use existing code. /studies?expand is almost fully implemented with new code
author Alain Mazy <am@orthanc.team>
date Thu, 25 Apr 2024 09:22:07 +0200
parents 48b8dae6dc77
children 3f13db27b399
line wrap: on
line diff
--- a/OrthancServer/Sources/Search/DatabaseConstraint.cpp	Tue Apr 23 16:49:44 2024 +0200
+++ b/OrthancServer/Sources/Search/DatabaseConstraint.cpp	Thu Apr 25 09:22:07 2024 +0200
@@ -152,6 +152,7 @@
                                          const std::vector<std::string>& values,
                                          bool caseSensitive,
                                          bool mandatory) :
+    keyType_(DatabaseConstraint::KeyType_DicomTag),
     level_(level),
     tag_(tag),
     isIdentifier_(isIdentifier),