From 2450b46d6aa902f5d5a5094b493f1da4d98798ba Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 9 Oct 2015 09:29:02 +0200 Subject: Moved the index to the proper prefix --- common/domain/event.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'common') diff --git a/common/domain/event.cpp b/common/domain/event.cpp index 38872f9..9759fc3 100644 --- a/common/domain/event.cpp +++ b/common/domain/event.cpp @@ -38,7 +38,7 @@ ResultSet TypeImplementation::queryIndexes(const Akonadi2::Query &query, { QVector keys; if (query.propertyFilter.contains("uid")) { - Index uidIndex("index.uid", transaction); + Index uidIndex("event.index.uid", transaction); uidIndex.lookup(query.propertyFilter.value("uid").toByteArray(), [&](const QByteArray &value) { keys << value; }, @@ -54,8 +54,7 @@ void TypeImplementation::index(const Event &type, Akonadi2::Storage::Tran { const auto uid = type.getProperty("uid"); if (uid.isValid()) { - Index uidIndex("index.uid", transaction); - uidIndex.add(uid.toByteArray(), type.identifier()); + Index("event.index.uid", transaction).add(uid.toByteArray(), type.identifier()); } } -- cgit v1.2.3