Skip Menu |

This queue is for tickets about the TAP-Formatter-HTML CPAN distribution.

Report information
The Basics
Id: 91692
Status: open
Priority: 0/
Queue: TAP-Formatter-HTML

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Javascript: duration time column is not sorted numerically
The time column is not always correctly sorted. This can be reproduced if there are test durations >10s and <10s. Reason is that because of the trailing "s", jquery.tablesorter's default digit parser does not not match and instead the generic text parser is used. I think a custom parser has to be created here, with a regexp something like /^\d(\.\d+)?s$/, and this parser should be assigned to the 3rd (time) column. If you like, then I can try to create a patch to fix the problem. Regards, Slaven
On Fri Dec 27 10:37:07 2013, SREZIC wrote: Show quoted text
> The time column is not always correctly sorted.
[snip!] Thanks for the report & suggested fix, Slaven. Patches welcome -- and If you'd like a commit bit on github and co-maint on CPAN for TFH, let me know :-).