Closed Bug 427585 Opened 16 years ago Closed 9 years ago

the default search behavior on topcrasher should be to sort numbers descending, not ascending

Categories

(Socorro :: General, task)

x86
Windows XP
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: timeless, Assigned: thalia.e.chan, Mentored)

Details

the default search behavior on topcrasher should be to sort numbers descending, not ascending. i can't imagine anyone clicking on "mac" wants to see all crashes that *don't* happen on Mac. (obviously rank is a *special* case).

fwiw, it's only the numbers that are stupid.
rank and sig DtRt tm()
In theory, this should be able to accomplished by making a simple change:

  $(document).ready(function()
      {
          $("#signatureList").tablesorter({
              sortInitialOrder: "desc"
          });
      }
  );

However, the current implementation of tablesorter is broken and won't respect this pref. I've e-mailed the developer with a suggested fix.

It's not currently possible to specify a default sort order on a per-column basis, but I think that since people are going to sort by numbers more often, it'd be best to go with descending here.
Component: Socorro → General
Product: Webtools → Socorro
Whiteboard: [mentor=chris.lonnen@gmail.com]
this is pretty old, it is still valid ?
(In reply to Michał Frontczak[:fxa90id] from comment #2)
> this is pretty old, it is still valid ?

yes. are you interested in supplying the patch?
Flags: needinfo?(michaljev)
Yes I would like to :)
Flags: needinfo?(michaljev)
(In reply to Michał Frontczak[:fxa90id] from comment #4)
> Yes I would like to :)

You got it :) lonnen agreed to be a mentor on this bug, you can chat with devs on irc.mozilla.org #breakpad or the mailing list https://lists.mozilla.org/listinfo/tools-socorro
Assignee: nobody → michaljev
Status: NEW → ASSIGNED
Assignee: mfrontczak → nobody
Status: ASSIGNED → NEW
Whiteboard: [mentor=chris.lonnen@gmail.com]
Whiteboard: [mentor=chris.lonnen@gmail.com]
Mentor: chris.lonnen
Whiteboard: [mentor=chris.lonnen@gmail.com]
Hi~ I am very interesting about this issue, but I am new to python and a beginner as volunteer. If anyone could tell me what should I do with this bug. I will try my best to fix it.
Commits pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/b4959d70da82445f413d19faa2202373170d5fef
Bug 427585 Change default table sort on topcrasher to descending

https://github.com/mozilla/socorro/commit/bf527b3b38afc123922cca7d9910062f63e73399
Merge pull request #2708 from Tchanders/tablesort

Bug 427585 Change default table sort on topcrasher to descending
Hi,
I would like to work on this bug,
Thanks.
Sorry Anusha, this bug has already been resolved. Please look for another one!
Assignee: nobody → thalia.e.chan
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.