Commit 9831e0d5 authored by Stefan Busemann's avatar Stefan Busemann

Merge branch 'bugfix/ignore-storage-page-for-packagist-download' into 'develop'

[BUGFIX] Ignore storage page, otherwise it will count multiple times

See merge request services/extensions.typo3.org/ter!626
parents 5bf2128f ee32cd3a
Pipeline #10252 passed with stages
in 6 minutes and 30 seconds
......@@ -81,7 +81,12 @@ class DownloadRepository extends AbstractRepository
*/
public function findDownloadCounterByMonthAndExtensionKey($month, $extensionKey, $versionId, $source)
{
$querySettings = GeneralUtility::makeInstance(Typo3QuerySettings::class);
$querySettings->setRespectStoragePage(false);
$query = $this->createQuery();
$query->setQuerySettings($querySettings);
$query->matching(
$query->logicalAnd(
[
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment