Closed Bug 1214847 Opened 9 years ago Closed 9 years ago

[dashboard] Projects order by their name is not consistent

Categories

(Webtools Graveyard :: Pontoon, defect)

defect
Not set
minor

Tracking

(firefox44 affected)

RESOLVED FIXED
Tracking Status
firefox44 --- affected

People

(Reporter: mstanke, Unassigned, Mentored)

References

()

Details

Just a minor bug.

1) Open Project Overview page https://pontoon.mozilla.org/projects/.
2) Note the "Firefox OS", "Firefox OS 2.x" and "Firefox OS Marketing" order in the list.
3) Click any column header and than the "Name" header to sort the projects by their names again (which is default).
4) Projects are now in different order than the default after the page first load is.
Yeah, I noticed that too and forgot to file a bug. :-) Thanks!

Note for a developer: initial sort on page load is performed by Django/Jinja, and the column sorting is taken care of by JavaScript.
Mentor: m
Summary: Projects order by their name is not consistent → [dashboard] Projects order by their name is not consistent
Commits pushed to master at https://github.com/mozilla/pontoon

https://github.com/mozilla/pontoon/commit/fc04049b47c22f7543ec8d056ad47076bcb67558
Fix bug 1214847: Sort by text contents, not HTML markup

https://github.com/mozilla/pontoon/commit/3adb4776297fb1b9a8a167368e5ccad5164fc444
Merge pull request #213 from mathjazz/bug-1214847-unify-js-and-python-sorting

Fix bug 1214847: Sort by text contents, not HTML markup
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.