Mercurial > hg > orthanc-databases
comparison 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 |
comparison
equal
deleted
inserted
replaced
564:3a83c434b284 | 565:373cf7d747cc |
---|---|
636 if (to != -1) | 636 if (to != -1) |
637 { | 637 { |
638 hasTo = true; | 638 hasTo = true; |
639 filters.push_back("seq<=${to}"); | 639 filters.push_back("seq<=${to}"); |
640 } | 640 } |
641 | |
642 #if ORTHANC_PLUGINS_HAS_CHANGES_EXTENDED == 1 | |
641 if (changeType != _OrthancPluginChangeType_All) | 643 if (changeType != _OrthancPluginChangeType_All) |
642 { | 644 { |
643 hasFilterType = true; | 645 hasFilterType = true; |
644 filters.push_back("changeType=${changeType}"); | 646 filters.push_back("changeType=${changeType}"); |
645 } | 647 } |
648 #endif | |
646 | 649 |
647 std::string filtersString; | 650 std::string filtersString; |
648 if (filters.size() > 0) | 651 if (filters.size() > 0) |
649 { | 652 { |
650 Orthanc::Toolbox::JoinStrings(filtersString, filters, " AND "); | 653 Orthanc::Toolbox::JoinStrings(filtersString, filters, " AND "); |