Commit ec15a3c6 authored by Łukasz Uznański's avatar Łukasz Uznański Committed by Frank Nägler
Browse files

[BUGFIX] Show hidden translated record only once in clipboard

Right now, when user in workspace move element with translation
to the clipboard, translation is rendered twice in clipboard.
This bugfix prevents this behaviour.

Resolves: #82804
Releases: master, 8.7
Change-Id: I21a38800d2d5474650f8220340621841cb33f852
Reviewed-on: https://review.typo3.org/54883

Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frank Nägler's avatarFrank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Nägler's avatarFrank Naegler <frank.naegler@typo3.org>
parent 3adb7533
......@@ -491,6 +491,10 @@ class Clipboard
$queryBuilder->expr()->neq(
$tcaCtrl['languageField'],
$queryBuilder->createNamedParameter(0, \PDO::PARAM_INT)
),
$queryBuilder->expr()->gt(
'pid',
$queryBuilder->createNamedParameter(-1, \PDO::PARAM_INT)
)
);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment