diff options
author | ivan <ivan> | 2012-02-18 04:32:53 +0000 |
---|---|---|
committer | ivan <ivan> | 2012-02-18 04:32:53 +0000 |
commit | f8e71b44a39cf7b4d8185c57a46045636e7cc2a4 (patch) | |
tree | fc27e422eb7c741f318eeeb5ce090deae3b68ee2 /httemplate/search/part_pkg.html | |
parent | 054d386242314b406e6bb2c69f2a62524c1a381b (diff) |
fix per-user commission reports to filter packages they didn't order, RT#15634
Diffstat (limited to 'httemplate/search/part_pkg.html')
-rw-r--r-- | httemplate/search/part_pkg.html | 2 |
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> |