title | issue |
---|---|
Don't perform queries in `EntitySearcher` if criteria.limit = 0 |
NEXT-20689 |
- Changed
\Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search()
to not perform a query if$criteria->getLimit() === 0
.
- Changed
\Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search()
to not perform a query if$criteria->getLimit() === 0
.