Skip to content

Commit

Permalink
fixup! IBX-6773: Bookmarks for non-accessible contents cause exception
Browse files Browse the repository at this point in the history
  • Loading branch information
vidarl committed May 30, 2024
1 parent 7246b2e commit 598fc41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eZ/Publish/Core/Repository/BookmarkService.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function loadBookmarks(int $offset = 0, int $limit = 25): BookmarkList
try {
$filter
->withCriterion(new Criterion\Bookmark($currentUserId))
->withSortClause(new SortClause\DatePublished(Query::SORT_ASC))
->withSortClause(new SortClause\DatePublished(Query::SORT_DESC))
->sliceBy($limit, $offset);

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

0 comments on commit 598fc41

Please sign in to comment.