Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 0.3.1
-
Fix Version/s: 1.1-beta1
-
Component/s: Persistence
-
Labels:None
Description
I would be nice if you could specify a default sort and order for domain classes, like:
class NewsArticle
{ static defaultSort = 'publishedAt' static defaultOrder = 'desc' String title Date publishedAt .... }Issue Links
- is duplicated by
-
GRAILS-3038
Add support for ordering an object's collections at the SQL / DB level
-