diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2013-04-17 20:44:39 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2013-04-17 20:44:39 -0700 |
| commit | 04bf3e2423b070d3e3e2a2e6006b678bcf11b481 (patch) | |
| tree | df34ab7f8a9a14305a2b2b6124035f680cc559ef /httemplate/elements/dashboard-toplist.html | |
| parent | 9fbee73725ce02023c76179d573048cf4177903b (diff) | |
move from legacy compat JSON to_json to modern JSON::XS encode_json, RT#22630
Diffstat (limited to 'httemplate/elements/dashboard-toplist.html')
| -rw-r--r-- | httemplate/elements/dashboard-toplist.html | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/httemplate/elements/dashboard-toplist.html b/httemplate/elements/dashboard-toplist.html index f4a372519..b80af7883 100644 --- a/httemplate/elements/dashboard-toplist.html +++ b/httemplate/elements/dashboard-toplist.html @@ -169,7 +169,6 @@ if ( $FS::TicketSystem::system eq 'RT_Internal' ObjectCustomFieldValues.ObjectId = cust_tickets.Id ) GROUP BY cust_tickets.custnum, ObjectCustomFieldValues.Content"; - #warn $sql."\n"; } else { # no custom_priority_field $sql = "SELECT cust_tickets.custnum, @@ -181,10 +180,8 @@ if ( $FS::TicketSystem::system eq 'RT_Internal' my $sth = dbh->prepare($sql) or die dbh->errstr; $sth->execute or die $sth->errstr; while ( my $row = $sth->fetchrow_hashref ) { - #warn to_json($row)."\n"; $num_tickets_by_priority{ $row->{priority} }->{ $row->{custnum} } = $row->{num_tickets}; } } -#warn Dumper \%num_tickets_by_priority; </%init> |
