diff options
| author | ivan <ivan> | 2012-02-18 05:11:00 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2012-02-18 05:11:00 +0000 |
| commit | 7ed66481b845c83c0e8d5d7c8e230fe089347443 (patch) | |
| tree | e5852f31f2a128126a38b64a1f02042696be6df1 | |
| parent | ae7f30f6c0c15c864522d3ff1d99c7dacfc0fe89 (diff) | |
fix per-user commission reports to filter packages they didn't order, RT#15634
| -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 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> |
