Fix relation from blog posts with project

This commit is contained in:
2025-03-18 13:14:17 +01:00
parent 516e2695ea
commit 45d3ed7419
+1 -1
View File
@@ -238,7 +238,7 @@ class ProjectsPump implements PumpInterface
{
$query = $this->getDbConnection($context)->prepare(
"SELECT * FROM `post` p
INNER JOIN `blog` b ON b.id = p.id
INNER JOIN `blog` b ON b.id = p.blog
WHERE b.type = 'project'
AND b.owner = :project
"