mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix: fix initial addressbook sync skipping items due to ordering
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
e164139c57
commit
146ebef567
1 changed files with 2 additions and 1 deletions
|
|
@ -980,7 +980,8 @@ class CardDavBackend implements BackendInterface, SyncSupport {
|
|||
->from('cards')
|
||||
->where(
|
||||
$qb->expr()->eq('addressbookid', $qb->createNamedParameter($addressBookId))
|
||||
);
|
||||
)
|
||||
->orderBy('id');
|
||||
// No synctoken supplied, this is the initial sync.
|
||||
$qb->setMaxResults($limit);
|
||||
$stmt = $qb->executeQuery();
|
||||
|
|
|
|||
Loading…
Reference in a new issue