fallback to persister count
This commit is contained in:
parent
fbbe922cb6
commit
e5ba28676d
1 changed files with 1 additions and 1 deletions
|
@ -279,6 +279,6 @@ abstract class AbstractCollectionPersister implements CachedCollectionPersister
|
||||||
*/
|
*/
|
||||||
public function loadCriteria(PersistentCollection $collection, Criteria $criteria)
|
public function loadCriteria(PersistentCollection $collection, Criteria $criteria)
|
||||||
{
|
{
|
||||||
throw new \BadMethodCallException("Filtering a collection by Criteria is not supported by this CollectionPersister.");
|
return $this->persister->loadCriteria($collection, $criteria);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue