summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2012-02-18 05:10:59 +0000
committerivan <ivan>2012-02-18 05:10:59 +0000
commite67988848e92af19719fe7c06c589e3b7b46d058 (patch)
tree6908e16ef59c56172f59a527b21732a1b7e9e269
parenta2c19d43e23d48c417a3f3fefd1d096c468efc80 (diff)
fix per-user commission reports to filter packages they didn't order, RT#15634
-rw-r--r--httemplate/search/part_pkg.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/part_pkg.html b/httemplate/search/part_pkg.html
index 2fa75e32f..57da9d459 100644
--- a/httemplate/search/part_pkg.html
+++ b/httemplate/search/part_pkg.html
@@ -219,6 +219,6 @@ my $order_by = join(', ', @order_by);
#my $count_query = "SELECT COUNT(*) FROM ( SELECT 1 FROM part_pkg $addl_from $extra_sql ) AS num";
#mysql?
my $count_query = "SELECT COUNT(*) FROM ( SELECT DISTINCT part_pkg.pkgpart FROM part_pkg $addl_from $extra_sql ) AS num";
-warn $count_query;
+#warn $count_query;
</%init>