groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul-Julien Vauthier (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GROOVY-8218) Allow to specify reversed order for @Sortable
Date Sun, 04 Jun 2017 06:41:04 GMT

     [ https://issues.apache.org/jira/browse/GROOVY-8218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paul-Julien Vauthier updated GROOVY-8218:
-----------------------------------------
    Description: 
When using the Sortable annotation it is not possible to use reverse order. 

For a leaderboard, you may want to sort its entries by points. 

{code}
@Sortable(reversed = true)
class LeaderBoardEntry {
  int points
}
{code}

  was:
When using the Sortable annotation it is possible to use reversed order. 

For a leaderboard, you may want to sort its entries by points. 

{code}
@Sortable(reversed = true)
class LeaderBoardEntry {
  int points
}
{code}


> Allow to specify reversed order for @Sortable
> ---------------------------------------------
>
>                 Key: GROOVY-8218
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8218
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Paul-Julien Vauthier
>
> When using the Sortable annotation it is not possible to use reverse order. 
> For a leaderboard, you may want to sort its entries by points. 
> {code}
> @Sortable(reversed = true)
> class LeaderBoardEntry {
>   int points
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message