~bgo-maintainers/bugzilla-traceparser/3.4

« back to all changes in this revision

Viewing changes to lib/TraceParser/Hooks.pm

  • Committer: Max Kanat-Alexander
  • Date: 2009-08-09 03:29:34 UTC
  • Revision ID: mkanat@everythingsolved.com-20090809032934-6ruh7egfkukxa8wh
Allow people to change the "limit" on popular-traces.

Show diffs side-by-side

added added

removed removed

Lines of Context:
417
417
    my $traces = TraceParser::Trace->new_from_list([keys %trace_count]);
418
418
    @$traces = reverse sort { $trace_count{$a->id} <=> $trace_count{$b->id} } 
419
419
                            @$traces;
 
420
    $vars->{limit} = $limit;
420
421
    $vars->{traces} = $traces;
421
422
    $vars->{trace_count} = \%trace_count;
422
423
}