]> source.dussan.org Git - nextcloud-server.git/commit
feat(caldav): order the calendar objects by start date for search 45566/head
authorDaniel Kesselberg <mail@danielkesselberg.de>
Wed, 15 May 2024 10:55:40 +0000 (12:55 +0200)
committerDaniel <mail@danielkesselberg.de>
Thu, 6 Jun 2024 10:29:29 +0000 (12:29 +0200)
commit8330825f3e37a93211718b0b974b27dbc81d5b63
tree966317fbb3a35a3a2f7eda9db59623d522d1183f
parent449af33c29d5337ba33592c62337816b1a086a54
feat(caldav): order the calendar objects by start date for search

Sorting the events by the start date leads to more predictable results for the search API consumers.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
apps/dav/lib/CalDAV/CalDavBackend.php
apps/dav/tests/misc/caldav-search-missing-start-1.ics [new file with mode: 0644]
apps/dav/tests/misc/caldav-search-missing-start-2.ics [new file with mode: 0644]
apps/dav/tests/unit/CalDAV/CalDavBackendTest.php
lib/public/Calendar/ICalendar.php