FOSElasticaBundle/Doctrine
Peter Mitchell 2009f88109 Make fetchSlice compatible with custom repo method
If a user configures query_builder_method for the doctrine provider, and
does not alias the root entity to equal Provider::ENTITY_ALIAS then a
DQL error will occur during index population.

> [Semantical Error] [...] near 'a.id ASC': Error: 'a' is not defined.

Provider::countObjects already handles this by dynamically fetching the
alias with QueryBuilder::getRootAliases, and Provider::fetchSlice should
be doing the same.

nb. "Provider" refers to FOS\ElasticaBundle\Doctrine\ORM\Provider
2014-03-19 08:40:58 -04:00
..
MongoDB Refactor to a single Listener class. Update tests. 2013-12-02 12:42:04 +00:00
ORM Make fetchSlice compatible with custom repo method 2014-03-19 08:40:58 -04:00
AbstractElasticaToModelTransformer.php Add query_builder_method option to the transformers 2013-11-11 13:14:02 +11:00
AbstractProvider.php Fixed issues in #426 2014-02-19 12:19:34 +01:00
Listener.php Bulk delete 2014-02-01 02:14:21 +00:00
RepositoryManager.php clean ups 2013-11-20 08:11:15 -05:00