Closed
Bug 1047443
Opened 11 years ago
Closed 11 years ago
slave_failures.html sort for '% failure' not working correctly after changing date
Categories
(Testing :: General, defect)
Testing
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dminor, Assigned: akruglov, Mentored)
References
Details
(Whiteboard: [good first bug][lang=javascript])
Attachments
(2 files, 1 obsolete file)
|
80.52 KB,
patch
|
dminor
:
review+
|
Details | Diff | Splinter Review |
|
1.48 KB,
patch
|
dminor
:
review+
|
Details | Diff | Splinter Review |
Similar problem to what was fixed in Bug 1030076.
| Reporter | ||
Comment 2•11 years ago
|
||
Thanks for looking at this :)
Assignee: nobody → akruglov
Status: NEW → ASSIGNED
Oh, I decided to use tablesorter plugin for jQuery instead of sorttable.
Here are docs for it: http://tablesorter.com/docs/index.html
There are some notes:
1. tablesorter supports sorting by multiple columns, however, if you sort table this way and then will fetch data for different days, sorting will be applied, but possible not in the same way. For instance, you sort by total asc and fails desc, but after updating table you'll get fails desc and total asc. I don't see a simply way to restore the right order of sorting.
2. sorting can take some time. it's possible to show some message or overlay while table is resorted, and if it's necessary I can do it.
3. tables on android failures page don't remember that they were sorted and don't have any default sorting applied. I can change this if it's necessary.
Attachment #8466790 -
Flags: review?(dminor)
some minor changes (removed unused class names).
Attachment #8466790 -
Attachment is obsolete: true
Attachment #8466790 -
Flags: review?(dminor)
Attachment #8466791 -
Flags: review?(dminor)
| Reporter | ||
Comment 5•11 years ago
|
||
Comment on attachment 8466791 [details] [diff] [review]
0001-Bug-1047443-slave_failures.html-sort-for-failure-not.patch
Review of attachment 8466791 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good to me. Thanks for your help!
Attachment #8466791 -
Flags: review?(dminor) → review+
| Reporter | ||
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Sorry, but I took a liberty to examined it after going live, and there is a bug with sorting for slaves page. I gonna fix it today's evening.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Reporter | ||
Comment 7•11 years ago
|
||
Thanks!
that should fix sorting.
Attachment #8468069 -
Flags: review?(dminor)
| Reporter | ||
Comment 9•11 years ago
|
||
Comment on attachment 8468069 [details] [diff] [review]
0001-fix-sorting.patch
Review of attachment 8468069 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good in my testing. Thanks!
Attachment #8468069 -
Flags: review?(dminor) → review+
| Reporter | ||
Updated•11 years ago
|
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•