Details
-
Change Request
-
Status: Open
-
P1: Critical
-
Resolution: Unresolved
-
None
-
None
-
dde80db41d6852714b13280e95dec4d6dec7ee66
Description
There's no efficient way to retrieve the information needed for an "agenda view" - basically the next 5 events (recurring or not). Something like:
QOM::items(const QDateTime& startTime, int maxCount, const QOrganizerItemFilter& filter, ...) etc; (cross between itemOccurrences and items)
Currently you'd need to either:
a) fetch all the items in that range and throw away most of them
b) fetch the itemsForExport in that range, then call itemOccurrences on them and sort them etc