Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

Commit 4848961

Browse files
authored
Create Builder.php
SQL Query fix
1 parent eafb225 commit 4848961

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/NavigationBuilder/Services/Builder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ private function calculateCounters(array $keys)
159159
{
160160
/** @var SelectQuery $query */
161161
$query = $this->linkSource->findWithTree()->where([
162-
'id' => ['IN' => new Parameter($keys)]
162+
'link.id' => ['IN' => new Parameter($keys)]
163163
])->compiledQuery();
164164

165165
$links = $query
@@ -188,4 +188,4 @@ private function calculateCounters(array $keys)
188188
}
189189
}
190190
}
191-
}
191+
}

0 commit comments

Comments
 (0)