stream union all

This commit is contained in:
yuri
2019-09-27 16:17:22 +03:00
parent 36d089cfe7
commit 70cdbe6020
+1 -1
View File
@@ -670,7 +670,7 @@ class Stream extends \Espo\Core\Services\Base
$sqlPartList[] = "(\n" . $this->getEntityManager()->getQuery()->createSelectQuery('Note', $selectParams) . "\n)";
}
$sql = implode("\n UNION \n", $sqlPartList) . "
$sql = implode("\n UNION ALL \n", $sqlPartList) . "
ORDER BY number DESC
";