Skip Menu |

This queue is for tickets about the Module-CPANTS-ProcessCPAN CPAN distribution.

Report information
The Basics
Id: 41349
Status: open
Priority: 0/
Queue: Module-CPANTS-ProcessCPAN

People
Owner: Nobody in particular
Requestors: jozef [...] kutej.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: dates in "Number of dists" are mixed
The X Axis shows that the dates are not sorted chronologically. There should be probably a date sort of $results in sub make_distgraph of make_distgraph.pl ???: sub make_distgraph { my ($dist)=@_; my $results=$db->resultset('HistoryDist')->search(distname=>$dist->distname); Cheers, Jozef
Subject: dists.png
Download dists.png
image/png 3.1k
dists.png
I have to agree with this ancient bug report. You probably want to add an order_by clause to your query for the graph like: sub make_distgraph { my ($dist)=@_; my $results=$db->resultset('HistoryDist')->search(distname=>$dist->distname, {order_by=>{-asc=>'run'}}); ... and also for the author graph sub make_authorgraph { my $author=shift; my $results=$db->resultset('HistoryAuthor')->search(author=>$author->id, {order_by=>{-asc=>'run'}});