Skip to content
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

GRAILS-3911 - Criteria.list() sort nested properties #15

Closed
wants to merge 1 commit into from

Conversation

trygvea
Copy link
Contributor

@trygvea trygvea commented Nov 1, 2010

Fix for sorting domain classes using nested properties, ex. list(sort:'author.name') and find*(sort:'author.name').
Also, <g:sortableColumn property='author.name' .../> works as expected.

The patch does not work for criteria builder's order('property'), just for sort: properties.

See provided test case for details.

@graemerocher
Copy link
Member

Thanks. applied.

jdaugherty pushed a commit to jdaugherty/grails-core that referenced this pull request Jan 7, 2025
Improved manual pubsub example
jdaugherty pushed a commit to jdaugherty/grails-core that referenced this pull request Jan 9, 2025
…nverterTrait method, to improve test coverage reports (grails#15)
jdaugherty pushed a commit to jdaugherty/grails-core that referenced this pull request Jan 15, 2025
Add support for json view rendering automatically
jdaugherty pushed a commit to jdaugherty/grails-core that referenced this pull request Feb 9, 2025
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants