Skip to content

Commit

Permalink
Merge branch 'master' into init-logger-middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-meyer authored Sep 20, 2024
2 parents 28ac9b6 + 3e31b86 commit 05fe77d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
Binary file not shown.
2 changes: 1 addition & 1 deletion Classes/Common/Solr/SolrSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ private function getSort() : array
'score' => 'desc',
'year_sorting' => 'asc',
'title_sorting' => 'asc',
'volume' => 'asc'
'volume_sorting' => 'asc'
];
}

Expand Down
3 changes: 3 additions & 0 deletions Classes/Controller/AbstractController.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
use Psr\Log\LoggerAwareTrait;
use TYPO3\CMS\Core\Configuration\ExtensionConfiguration;
use TYPO3\CMS\Core\Localization\LanguageService;
use TYPO3\CMS\Core\Log\LogManager;
use TYPO3\CMS\Core\Pagination\PaginationInterface;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Core\Utility\MathUtility;
Expand Down Expand Up @@ -111,6 +112,8 @@ protected function initialize(): void
// Get extension configuration.
$this->extConf = GeneralUtility::makeInstance(ExtensionConfiguration::class)->get('dlf');

$this->logger = GeneralUtility::makeInstance(LogManager::class)->getLogger(__CLASS__);

$this->viewData = [
'pageUid' => $this->pageUid,
'uniqueId' => uniqid(),
Expand Down
10 changes: 5 additions & 5 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 05fe77d

Please sign in to comment.