Skip to content

Commit

Permalink
see cl 1.15.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Patzer committed Jun 23, 2020
1 parent c98c4a4 commit 896e62d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
@@ -1,6 +1,9 @@
# Changelog
All notable changes to this project will be documented in this file.

## [1.15.1] - 2020-06-23
- fixed bug concerning dc_multilingual and frontend preview

## [1.15.0] - 2020-06-18
- corrected canonical link generation respecting the archive and/or category jumpTo

Expand Down
3 changes: 2 additions & 1 deletion src/Manager/ReaderManager.php
Expand Up @@ -739,7 +739,8 @@ protected function addDcMultilingualSupport(ReaderConfigModel $readerConfig, Que

// add support for dc multilingual utils
if ($this->isDcMultilingualUtilsActive($readerConfig, $dca, $readerConfig->dataContainer)) {
if (isset($dca['config']['langPublished']) && isset($dca['fields'][$dca['config']['langPublished']]) && \is_array($dca['fields'][$dca['config']['langPublished']])) {
if (!System::getContainer()->get('huh.utils.container')->isPreviewMode() &&
isset($dca['config']['langPublished']) && isset($dca['fields'][$dca['config']['langPublished']]) && \is_array($dca['fields'][$dca['config']['langPublished']])) {
$and = $queryBuilder->expr()->andX();

if (isset($dca['config']['langStart']) && isset($dca['fields'][$dca['config']['langStart']]) && \is_array($dca['fields'][$dca['config']['langStart']])
Expand Down

0 comments on commit 896e62d

Please sign in to comment.