Skip to content

Commit 598fc41

Browse files
committed
fixup! IBX-6773: Bookmarks for non-accessible contents cause exception
1 parent 7246b2e commit 598fc41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eZ/Publish/Core/Repository/BookmarkService.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function loadBookmarks(int $offset = 0, int $limit = 25): BookmarkList
104104
try {
105105
$filter
106106
->withCriterion(new Criterion\Bookmark($currentUserId))
107-
->withSortClause(new SortClause\DatePublished(Query::SORT_ASC))
107+
->withSortClause(new SortClause\DatePublished(Query::SORT_DESC))
108108
->sliceBy($limit, $offset);
109109

110110
$result = $this->repository->getlocationService()->find($filter, []);

0 commit comments

Comments
 (0)