Revision: 5934
http://languagetool.svn.sourceforge.net/languagetool/?rev=5934&view=rev
Author: dnaber
Date: 2011-11-19 00:00:31 +0000 (Sat, 19 Nov 2011)
Log Message:
-----------
fix sorting
Modified Paths:
--------------
trunk/ltcommunity/grails-app/controllers/org/languagetool/CorpusMatchController.groovy
Modified:
trunk/ltcommunity/grails-app/controllers/org/languagetool/CorpusMatchController.groovy
===================================================================
---
trunk/ltcommunity/grails-app/controllers/org/languagetool/CorpusMatchController.groovy
2011-11-18 23:57:18 UTC (rev 5933)
+++
trunk/ltcommunity/grails-app/controllers/org/languagetool/CorpusMatchController.groovy
2011-11-19 00:00:31 UTC (rev 5934)
@@ -55,9 +55,9 @@
eq('isVisible', true)
projections {
groupProperty("ruleID")
- count("ruleID")
+ count "ruleID", 'mycount'
}
- order("ruleID")
+ order 'mycount', 'desc'
}
// Rule Matches for this language:
def matchCriteria = CorpusMatch.createCriteria()
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs