From 73f1a3e379cd477845ce4a5a2a82b2db538a3077 Mon Sep 17 00:00:00 2001 From: Doug Bell Date: Thu, 13 Dec 2007 19:36:50 +0000 Subject: [PATCH] fix: Matrix best/worst now must have 10 or more votes --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Asset/Wobject/Matrix.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index bd5fd802e..42484418c 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -12,6 +12,7 @@ 7.4.19 - fix: Import Package does nothing when re-importing trashed package - fix: CS Posts get re-ordered when copy/paste + - fix: Matrix best/worst now must have 10 or more votes 7.4.18 - fix: Graph draws black triangle covering half the image diff --git a/lib/WebGUI/Asset/Wobject/Matrix.pm b/lib/WebGUI/Asset/Wobject/Matrix.pm index bcc67e9ce..b1eb3fada 100644 --- a/lib/WebGUI/Asset/Wobject/Matrix.pm +++ b/lib/WebGUI/Asset/Wobject/Matrix.pm @@ -1050,7 +1050,7 @@ sub view { where Matrix_listing.assetId=".$self->session->db->quote($self->getId)." and Matrix_listing.status='approved' and - Matrix_ratingSummary.countValue > 0 + Matrix_ratingSummary.countValue >= 10 order by Matrix_ratingSummary.meanValue ";