groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GROOVY-8218) Allow to specify reverse order for @Sortable
Date Sun, 16 Jul 2017 20:19:01 GMT

    [ https://issues.apache.org/jira/browse/GROOVY-8218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16089104#comment-16089104
] 

ASF GitHub Bot commented on GROOVY-8218:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/groovy/pull/558


> Allow to specify reverse order for @Sortable
> --------------------------------------------
>
>                 Key: GROOVY-8218
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8218
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Paul-Julien Vauthier
>            Priority: Minor
>
> 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.4.14#64029)

Mime
View raw message