Skip to content

Commit

Permalink
Fixed site attachments in browse preview block.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-KM committed Sep 16, 2018
1 parent d6ae1ea commit c49c023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/src/Site/BlockLayout/BrowsePreview.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function render(PhpRenderer $view, SitePageBlockRepresentation $block)

$site = $block->page()->site();
if ($view->siteSetting('browse_attached_items', false)) {
$itemPool['site_attachments_only'] = true;
$query['site_attachments_only'] = true;
}

$query['site_id'] = $site->id();
Expand Down

0 comments on commit c49c023

Please sign in to comment.