Improve tags stats performance by using the new short_url_visits_counts table

This commit is contained in:
Alejandro Celaya
2024-03-28 19:17:37 +01:00
parent 6ce1550457
commit 071cb9af2b
2 changed files with 7 additions and 7 deletions

View File

@@ -85,7 +85,7 @@ class ShortUrlListRepository extends EntitySpecificationRepository implements Sh
{
$qb = $this->getEntityManager()->createQueryBuilder();
$qb->from(ShortUrl::class, 's')
->where('1=1');
->where('1=1');
$dateRange = $filtering->dateRange;
if ($dateRange?->startDate !== null) {