Skip to content
Snippets Groups Projects

Merge request to resolve #3362224

Open Marco Bouwer requested to merge issue/recently_read-3362224:3362224-17 into 8.x-1.x
2 files
+ 4
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -157,12 +157,14 @@ class RecentlyReadService implements RecentlyReadServiceInterface {
$records = $this->recentlyReadStorage->getQuery()
->condition('user_id', $user_id)
->sort('created', 'DESC')
->accessCheck(TRUE)
->execute();
}
else {
$records = $this->recentlyReadStorage->getQuery()
->condition('session_id', session_id())
->sort('created', 'DESC')
->accessCheck(TRUE)
->execute();
}
return $records;
Loading