Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

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.