diff Framework/Plugins/IndexBackend.cpp @ 565:373cf7d747cc find-refactoring

fix build against orthanc mainline
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sun, 22 Sep 2024 10:03:36 +0200
parents 3a83c434b284
children a7f841fc4a9f
line wrap: on
line diff
--- a/Framework/Plugins/IndexBackend.cpp	Fri Sep 20 18:36:52 2024 +0200
+++ b/Framework/Plugins/IndexBackend.cpp	Sun Sep 22 10:03:36 2024 +0200
@@ -638,11 +638,14 @@
       hasTo = true;
       filters.push_back("seq<=${to}");
     }
+
+#if ORTHANC_PLUGINS_HAS_CHANGES_EXTENDED == 1
     if (changeType != _OrthancPluginChangeType_All)
     {
       hasFilterType = true;
       filters.push_back("changeType=${changeType}");
     }
+#endif
 
     std::string filtersString;
     if (filters.size() > 0)