Revision: 5931
http://languagetool.svn.sourceforge.net/languagetool/?rev=5931&view=rev
Author: dnaber
Date: 2011-11-18 23:46:41 +0000 (Fri, 18 Nov 2011)
Log Message:
-----------
fix rule match counting
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:22:43 UTC (rev 5930)
+++
trunk/ltcommunity/grails-app/controllers/org/languagetool/CorpusMatchController.groovy
2011-11-18 23:46:41 UTC (rev 5931)
@@ -52,6 +52,7 @@
def matchByRuleCriteria = CorpusMatch.createCriteria()
def matchesByRule = matchByRuleCriteria {
eq('languageCode', langCode)
+ eq('isVisible', true)
projections {
groupProperty("ruleID")
count("ruleID")
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