Commit ee32cd3a authored by Thomas Löffler's avatar Thomas Löffler

Ignore storage page, otherwise it will count multiple times

parent 34a1901b
Pipeline #10112 passed with stages
in 6 minutes and 50 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