Open Bug 870635 Opened 11 years ago Updated 5 years ago

User activity report doesn't reverse the sort by date

Categories

(bugzilla.mozilla.org :: Extensions, defect)

Production
x86
macOS
defect
Not set
minor

Tracking

()

People

(Reporter: lizzard, Unassigned)

References

()

Details

The user activity report intentionally sorts with oldest activity at the top of the page. The column heading is a link which in the rest of BMO signifies that clicking the column head will reverse the sort order.  But that doesn't work in this case. 

This may be a duplicate of the WONTFIXed https://bugzilla.mozilla.org/show_bug.cgi?id=492060. I'm opening a new bug for this, since maybe it can be done as part of the BMO extension.
yeah, the user activity report isn't related to the 'activity stream' from bug 492060.
the file in question is extensions/BMO/lib/Reports/UserActivity.pm.
+1ing this and also further noting that the column header links behave in very unexpected ways--clicking on one moves the selected column to the left-most position.  We should just use typical table-sorting functions.
(In reply to Mark Côté ( :mcote ) from comment #2)
> +1ing this and also further noting that the column header links behave in
> very unexpected ways--clicking on one moves the selected column to the
> left-most position.  We should just use typical table-sorting functions.

The confusion is that the header links are for 'grouping' rather than 'sorting' and is not apparent. What if we were to change the current "Sort" drop down to "Group by" and then add the JS table sorting to the table itself to manage the column sorting functionality?

dkl
Depends on: 1072981
Component: Extensions: BMO → Extensions
You need to log in before you can comment on or make changes to this bug.