Make columns in the bugs list sortable
Categories
(Webtools Graveyard :: Pontoon, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: mathjazz, Assigned: michaelumanah, Mentored)
References
Details
(Whiteboard: outreachyround19)
Attachments
(1 file)
We should make the columns on the /{team}/bugs table sortable.
To enable the /{team}/bugs page, you'll need to set ENABLE_BUGS_TAB
to True
in pontoon/settings
.
Inspiration:
https://github.com/mozilla/pontoon/blob/master/pontoon/base/static/js/table.js#L87
Note: This is a followup to bug 1423854.
okpo: Please let me know if you'd rather see somebody else work on the sorting part of the bug.
Reporter | ||
Updated•6 years ago
|
Comment 1•6 years ago
|
||
Mathjazz: I will take it. Thanks
Comment 2•6 years ago
|
||
hi mathjazz: I'm looking at the table.js file and can see the sort function that sorts the table with different names. Do I sort using the bugs column names like id, summary, last-changed etc also with their classnames available in the table html tag? Thanks
Reporter | ||
Comment 3•6 years ago
|
||
Yeah, you should make columns sortable and refer to columns by their classNames.
Reporter | ||
Comment 4•6 years ago
|
||
Hi Okpo - since we're running short on the Mentored bugs, please note that Catherine will be working on this bug as well.
Comment 5•6 years ago
|
||
Okay, mathjazz. I have sent in the PR in the morning. Thanks
Comment 6•6 years ago
|
||
Reporter | ||
Comment 7•6 years ago
|
||
This bug was fixed in https://github.com/mozilla/pontoon/commit/d84e7e580a9b303164c60c9efc9c3cac705a2eab.
The credit goes to Okpo, Catherine and Michael.
I'm setting the Assignee to Michael Umanah, who eventually landed the fix.
Updated•4 years ago
|
Description
•