-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with Doctrine pagination #76
Comments
I 've got the same problem. I think this problem happens, because Doctrine Paginator missed the join identifier.
|
Is that working for you ? I don't think I can mass select the u entity, I need to only fetch from second table a CONCAT(u.first_name, ' ', u.last_name) staff_name |
No! Also i solved my problem to add an auto increment id and canceled the other id's as normal values and add an unique index with filename and group. |
Perhaps help this |
I found a workaround. ZfTable\Source\DoctrineQueryBuilder getPaginator() should be modified as below:
|
I think we should have a out of the box way to disable the OutputWalker. |
I ran into the issue of the OutputWalkers for optimization and did the following. In my table classes that extend AbstractTable I added the following function: ` class MyTable extends AbstractTable
} Then I have the following as ExtendZfTableDoctrineQueryBuilder which allows me to configure Doctrine as I wanted. ` use ZfTable\Source\DoctrineQueryBuilder; class ExtendZfTableDoctrineQueryBuilder extends DoctrineQueryBuilder
} Sorry, hopefully that is readable. I can't seem to keep my code within the code blocks. |
Hi,
It seems we are affected by the same problem as
http://www.doctrine-project.org/jira/browse/DDC-1927
By example for this source:
Is returned an error:
Not all identifier properties can be found in the ResultSetMapping: id
I am trying to select multiple fields from each table, of course, I reduced the sample to minimum to see the problem...
The text was updated successfully, but these errors were encountered: