Skip to content

Latest commit

 

History

History
7 lines (7 loc) · 431 Bytes

2021-10-06-dont-perform-search-on-empty-criteria.md

File metadata and controls

7 lines (7 loc) · 431 Bytes
title issue
Don't perform search before read inside EntityRepository for empty criteria
NEXT-12165

Core

  • Changed \Shopware\Core\Framework\DataAbstractionLayer\RepositorySearchDetector::isSearchRequired() to not require search when criteria filters are empty.
  • Changed \Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read() to perform a read if the filters and ids inside the criteria are empty.