Skip to content
Snippets Groups Projects
Commit 97900af6 authored by Dominik Beyer's avatar Dominik Beyer
Browse files

[BUGFIX] Fix single news appearing in related news

parent 62e2c1d8
No related branches found
No related tags found
1 merge request!52Bugfix related news
......@@ -596,6 +596,9 @@ class NewsRepository extends AbstractRepository {
$constraints = [
$query->logicalNot(
$query->equals('uid', $news->getUid())
),
$query->logicalNot(
$query->equals('l10n_source', $news->getUid())
)
];
if ($newest) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment