mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-11-28 19:13:55 +01:00
Fix query.
This commit is contained in:
@@ -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(
|
||||
'<span class="tl_gray"> (%s %s)</span>',
|
||||
$count,
|
||||
|
||||
Reference in New Issue
Block a user