summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2012-02-18 04:32:55 +0000
committerivan <ivan>2012-02-18 04:32:55 +0000
commitcc7a8c97b2ce268827aadd37fac288c33fba09fa (patch)
treebb00c29cda906d5fc6944a0682c2de12fb7b4ed9
parentb903531a68a5352c30f4b0976ae86f2dd93832a8 (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 8a4419857..2c9bdee1c 100644
--- a/httemplate/search/part_pkg.html
+++ b/httemplate/search/part_pkg.html
@@ -215,6 +215,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>