From c0a9358bcfd1b20d8896a3adb43b25d7e2c2ab2e Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 9 Dec 2009 10:16:30 -0800 Subject: [PATCH] Prevent statistics with a count of less than 10 from being listed in the worst list. --- lib/WebGUI/Asset/Wobject/Matrix.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/WebGUI/Asset/Wobject/Matrix.pm b/lib/WebGUI/Asset/Wobject/Matrix.pm index f7079eb1f..4c14b0e66 100644 --- a/lib/WebGUI/Asset/Wobject/Matrix.pm +++ b/lib/WebGUI/Asset/Wobject/Matrix.pm @@ -786,6 +786,7 @@ sub view { rating.category =? and asset.parentId=? and asset.state='published' + and rating.countValue >= 10 and assetData.revisionDate=( select max(revisionDate)