Skip to content

Commit

Permalink
Merge branch 'release/34.3.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
einpraegsam committed Feb 16, 2024
2 parents 2e36252 + 6b7c50e commit 5bc827a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Classes/Domain/Repository/CompanyRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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'
Expand All @@ -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();

Expand Down
5 changes: 3 additions & 2 deletions Documentation/Technical/Changelog/Index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' => '[email protected]',
'author_company' => 'in2code.de',
Expand Down

0 comments on commit 5bc827a

Please sign in to comment.