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)

defect
Not set
normal

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)

Similar problem to what was fixed in Bug 1030076.
Please, assign it to me ;)
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)
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+
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 → ---
Thanks!
that should fix sorting.
Attachment #8468069 - Flags: review?(dminor)
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+
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: