diff --git a/src/Backend/Renderer/Label/Layer/VectorsLabelRenderer.php b/src/Backend/Renderer/Label/Layer/VectorsLabelRenderer.php index 57d6b48..b892440 100644 --- a/src/Backend/Renderer/Label/Layer/VectorsLabelRenderer.php +++ b/src/Backend/Renderer/Label/Layer/VectorsLabelRenderer.php @@ -56,7 +56,7 @@ final class VectorsLabelRenderer extends AbstractLabelRenderer public function render(array $row, string $label, Translator $translator): string { $repository = $this->repositoryManager->getRepository(VectorModel::class); - $count = $repository->countBy(['pid'], [$row['id']]); + $count = $repository->countBy(['pid=?'], [$row['id']]); $label .= sprintf( ' (%s %s)', $count,