Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Extended documentation to prevent exception when ordering on fetch joined to-many association #128

Merged

Conversation

leonex-cs1
Copy link
Contributor

I got this exception on sorting: "Cannot select distinct identifiers from query with LIMIT and ORDER BY on a column from a fetch joined to-many association. Use output walkers." and it took me hours to find out, what the reason was and that the Paginator option wrap-queries must be used to use a subquery for distinct select, which prevents this exception.

So I'd like to extend the documentation of that option to help others with the same issue (also mentioned in KnpLabs/KnpPaginatorBundle#106).

pilot added a commit that referenced this pull request Jun 24, 2015
…joined_to_many

Extended documentation to prevent exception when ordering on fetch joined to-many association
@pilot pilot merged commit f5b5cb2 into KnpLabs:master Jun 24, 2015
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants