1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 19:22:22 -05:00

Fix : do not apply past event limit to recurring events (=> missing events in calendar for old recurring events)

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@282 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-01-08 10:35:06 +00:00
parent 4e0dfc1a68
commit 12d7b08725

View File

@ -888,10 +888,10 @@ public class ExchangeSession {
"<d:searchrequest xmlns:d=\"DAV:\">\n" +
" <d:sql> Select \"DAV:getetag\", \"urn:schemas:calendar:instancetype\"" +
" FROM Scope('SHALLOW TRAVERSAL OF \"" + calendarUrl + "\"')\n" +
" WHERE NOT \"urn:schemas:calendar:instancetype\" = 2\n" +
" AND NOT \"urn:schemas:calendar:instancetype\" = 3\n" +
" AND \"DAV:contentclass\" = 'urn:content-classes:appointment'\n" +
" WHERE (\"urn:schemas:calendar:instancetype\" = 1\n" +
" OR (\"urn:schemas:calendar:instancetype\" = 0\n" +
dateCondition +
" )) AND \"DAV:contentclass\" = 'urn:content-classes:appointment'\n" +
" ORDER BY \"urn:schemas:calendar:dtstart\" DESC\n" +
" </d:sql>\n" +
"</d:searchrequest>";