diff options
-rw-r--r-- | common/entitystorage.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/common/entitystorage.cpp b/common/entitystorage.cpp index c77e408..63017dd 100644 --- a/common/entitystorage.cpp +++ b/common/entitystorage.cpp | |||
@@ -60,12 +60,6 @@ ResultSet EntityStorageBase::getResultSet(const Akonadi2::Query &query, Akonadi2 | |||
60 | } | 60 | } |
61 | 61 | ||
62 | auto filter = [remainingFilters, query, baseRevision](const Akonadi2::ApplicationDomain::ApplicationDomainType::Ptr &domainObject) -> bool { | 62 | auto filter = [remainingFilters, query, baseRevision](const Akonadi2::ApplicationDomain::ApplicationDomainType::Ptr &domainObject) -> bool { |
63 | // if (topRevision > 0) { | ||
64 | // Trace() << "filtering by revision " << domainObject->revision(); | ||
65 | // if (domainObject->revision() < baseRevision) { | ||
66 | // return false; | ||
67 | // } | ||
68 | // } | ||
69 | for (const auto &filterProperty : remainingFilters) { | 63 | for (const auto &filterProperty : remainingFilters) { |
70 | //TODO implement other comparison operators than equality | 64 | //TODO implement other comparison operators than equality |
71 | if (domainObject->getProperty(filterProperty) != query.propertyFilter.value(filterProperty)) { | 65 | if (domainObject->getProperty(filterProperty) != query.propertyFilter.value(filterProperty)) { |