Skip to content

Commit

Permalink
fixup! fixup! IBX-6773: Bookmarks for non-accessible contents cause e…
Browse files Browse the repository at this point in the history
…xception: Added BookmarkId sort clause
  • Loading branch information
vidarl committed Jun 6, 2024
1 parent 3503fcd commit e2d1c9a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public function buildQuery(
FilteringSortClause $sortClause
): void {
/** @var \eZ\Publish\API\Repository\Values\Content\Query\SortClause $sortClause */
$queryBuilder->addSelect('bookmark.id');
$queryBuilder->addOrderBy('bookmark.id', $sortClause->direction);
}
}

0 comments on commit e2d1c9a

Please sign in to comment.