Skip to content

Commit

Permalink
Merge pull request #179 from dachcom-digital/scrummer/bugfix-wrong-qu…
Browse files Browse the repository at this point in the history
…ery-identifier

Fix wrong query identifier in favor of MembersBundle
  • Loading branch information
scrummer authored Jun 28, 2022
2 parents d52c536 + eedea62 commit 651c88b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ToolboxBundle/Document/Areabrick/Download/Download.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ protected function getByFolder(Asset\Folder $node): array
if ($this->hasMembersBundle()) {
$assetListing->onCreateQueryBuilder(function (\Doctrine\DBAL\Query\QueryBuilder $query) use ($assetListing) {
$this->bundleConnector->getBundleService(\MembersBundle\Security\RestrictionQuery::class)
->addRestrictionInjection($query, $assetListing, 'assets.id');
->addRestrictionInjection($query, $assetListing, 'id');
});
}

Expand Down

0 comments on commit 651c88b

Please sign in to comment.