Closed Bug 1591336 Opened 6 months ago Closed 5 months ago

Make columns in the bugs list sortable

Categories

(Webtools :: Pontoon, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

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.

Mentor: m

Mathjazz: I will take it. Thanks

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

Yeah, you should make columns sortable and refer to columns by their classNames.

Hi Okpo - since we're running short on the Mentored bugs, please note that Catherine will be working on this bug as well.

Okay, mathjazz. I have sent in the PR in the morning. Thanks

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.

Assignee: okpo.ekpenyong → michaelumanah
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Whiteboard: outreachyround19
You need to log in before you can comment on or make changes to this bug.