diff --git a/Classes/Domain/Repository/CompanyRepository.php b/Classes/Domain/Repository/CompanyRepository.php index 0ef9115d..d2806b02 100644 --- a/Classes/Domain/Repository/CompanyRepository.php +++ b/Classes/Domain/Repository/CompanyRepository.php @@ -3,7 +3,6 @@ declare(strict_types=1); namespace In2code\Lux\Domain\Repository; -use Doctrine\DBAL\Driver\Exception as ExceptionDbalDriver; use Doctrine\DBAL\Exception as ExceptionDbal; use Exception; use In2code\Lux\Domain\Model\Company; @@ -24,11 +23,11 @@ class CompanyRepository extends AbstractRepository /** * @param FilterDto $filter + * @param int $limit * @return array * @throws ExceptionDbal - * @throws ExceptionDbalDriver */ - public function findByFilter(FilterDto $filter): array + public function findByFilter(FilterDto $filter, int $limit = 750): array { $sql = 'select c.uid,sum(v.scoring) companyscoring' . ' from ' . Company::TABLE_NAME . ' c' @@ -42,6 +41,7 @@ public function findByFilter(FilterDto $filter): array $sql .= ' group by c.uid'; $sql .= $this->extendWhereClauseWithFilterCompanyscoring($filter); $sql .= ' order by companyscoring desc'; + $sql .= ' limit ' . $limit; $connection = DatabaseUtility::getConnectionForTable(Company::TABLE_NAME); $results = $connection->executeQuery($sql)->fetchAllKeyValue(); diff --git a/Documentation/Technical/Changelog/Index.md b/Documentation/Technical/Changelog/Index.md index 5c049343..33496e82 100644 --- a/Documentation/Technical/Changelog/Index.md +++ b/Documentation/Technical/Changelog/Index.md @@ -27,8 +27,9 @@ Double check if you have cleared all caches after installing a new LUX version t | Version | Date | State | TYPO3 | Description | |------------|------------|----------|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| 34.3.0 | 2024-02-01 | Featrue | `11.5 + 12.4` | Preparations for writing API in LUXenterprise | -| 34.2.0 | 2024-01-25 | Featrue | `11.5 + 12.4` | Support MTM-Parameters in addition to UTM-Parameters now | +| 34.3.1 | 2024-02-01 | Task | `11.5 + 12.4` | Reduce length of pagebrowser items in company list view | +| 34.3.0 | 2024-02-01 | Feature | `11.5 + 12.4` | Preparations for writing API in LUXenterprise | +| 34.2.0 | 2024-01-25 | Feature | `11.5 + 12.4` | Support MTM-Parameters in addition to UTM-Parameters now | | 34.1.0 | 2024-01-16 | Task | `11.5 + 12.4` | Small style bugfix in summary mails, update documentation | | 34.0.3 | 2023-11-21 | Bugfix | `11.5 + 12.4` | Prevent db compare error in UTM table | | 34.0.2 | 2023-09-29 | Bugfix | `11.5 + 12.4` | Fix some typos for CKEditor plugin functionality in TYPO3 12 | diff --git a/ext_emconf.php b/ext_emconf.php index f38ab1f8..abf4ea17 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -4,7 +4,7 @@ 'description' => 'Living User Experience - LUX - the Marketing Automation tool for TYPO3. Turn your visitors to leads. Identification and profiling of your visitors within your TYPO3 website.', 'category' => 'plugin', - 'version' => '34.3.0', + 'version' => '34.3.1', 'author' => 'Alex Kellner', 'author_email' => 'alexander.kellner@in2code.de', 'author_company' => 'in2code.de',