Skip to content

Commit

Permalink
BUGFIX: Fix offset for findAll
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellienert committed Jul 11, 2020
1 parent d5b7c61 commit 4cecb70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/AssetSource/MediaWikiAssetProxyQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function setSearchTerm(string $searchTerm): void
public function execute(): AssetProxyQueryResultInterface
{
if (empty($this->searchTerm)) {
$imageCollection = $this->assetSource->getMediaWikiClient()->findAll();
$imageCollection = $this->assetSource->getMediaWikiClient()->findAll($this->offset);
} else {
$searchStrategy = $this->searchStrategyFactory->getInstanceForAssetSource($this->assetSource);
$imageCollection = $searchStrategy->search($this->searchTerm, $this->offset);
Expand Down

0 comments on commit 4cecb70

Please sign in to comment.