Closed
Bug 629067
Opened 13 years ago
Closed 13 years ago
Allow sorting of signature lists by date of first occurrence
Categories
(Socorro :: General, task)
Tracking
(Not tracked)
RESOLVED
FIXED
1.7.7
People
(Reporter: laura, Assigned: ryansnyder)
References
Details
Attachments
(1 file)
668.92 KB,
image/png
|
Details |
As per https://wiki.mozilla.org/Socorro:PRD_2.x#New_.2F_explosive_.2F_critical_crash_tracking Might slip to 1.7.8 since it depends on bug 629054
Reporter | ||
Updated•13 years ago
|
Assignee: nobody → ryan
Reporter | ||
Updated•13 years ago
|
Target Milestone: 1.7.7 → 1.7.8
Assignee | ||
Comment 1•13 years ago
|
||
Will need to update sql in fetchTopcrasherVersions() in Topcrashers_Model with: SELECT sd.signature, array_to_string(array_agg(pd.version ORDER BY sort_key),', '), min(first_report) as first_report FROM signature_productdims sd INNER JOIN productdims pd ON sd.productdims_id = pd.id WHERE sd.signature IN (" . implode(", ", $signatures) . ") AND pd.product = ? ORDER BY signature;
Comment 2•13 years ago
|
||
Ryan, That'll allow us to display the first occurance info. Making it sortable, though ... that requires an overhaul of TCBS.
Assignee | ||
Comment 3•13 years ago
|
||
Right, agreed. TCBS requires an overhaul and I definitely still want that to happen. I was thinking that we can do a poor man's sorting using jquery's tablesorter. It's only for the 300 signatures listed on the current page, but should suffice for an immediate solution... Duct tape, FTW.
Assignee | ||
Comment 4•13 years ago
|
||
Committing this change on the PHP side. == Sending controllers/topcrasher.php Sending models/topcrashers.php Sending views/common/list_topcrashers.php Transmitting file data ... Committed revision 2960.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: 1.7.8 → 1.7.7
Comment 5•13 years ago
|
||
Not sure it's caused by this, but we started failing some topcrasher tests: http://qa-selenium.mv.mozilla.com:8080/job/socorro/712/ The previous build (6 hours before it) was only failing one test: http://qa-selenium.mv.mozilla.com:8080/job/socorro/711/console
Comment 6•13 years ago
|
||
Spun comment 5's failure(s) off as bug 636375.
Assignee | ||
Comment 7•13 years ago
|
||
Ah, thanks Stephen. This change must have only been made to devdb and not stagedb. I can back the change out if need be for code freeze tomorrow.
Comment 8•13 years ago
|
||
Noticed that not all stacks have a date appear in the First Appearance column; is that expected? https://crash-stats.stage.mozilla.com/topcrasher/byversion/Firefox/4.0b13pre
Comment 9•13 years ago
|
||
(The screenshot in comment 9 shows it sorting successfully for the dates it has, though. Just wondering, per comment 8, if all stacks are supposed to have a corresponding First Appearance timestamp?)
Updated•13 years ago
|
Component: Socorro → General
Product: Webtools → Socorro
You need to log in
before you can comment on or make changes to this bug.
Description
•