category performance fix

This commit is contained in:
Yuri Kuznetsov
2024-02-19 14:43:04 +02:00
parent 6ac13521e8
commit f503144c62
+1
View File
@@ -199,6 +199,7 @@ class RecordTree extends Record
$one = $this->entityManager
->getRDBRepository($this->subjectEntityType)
->clone($query)
->select(['id'])
->findOne();
if ($one) {