Fix query.

This commit is contained in:
David Molineus
2017-10-18 16:46:05 +02:00
parent 451d13fe98
commit 28adc54d36

View File

@@ -56,7 +56,7 @@ final class MarkersLabelRenderer extends AbstractLabelRenderer
public function render(array $row, string $label, Translator $translator): string
{
$repository = $this->repositoryManager->getRepository(MarkerModel::class);
$count = $repository->countBy(['pid'], [$row['pid']]);
$count = $repository->countBy(['pid=?'], [$row['pid']]);
$label .= sprintf(
'<span class="tl_gray"> (%s %s)</span>',
$count,