Open Bug 921752 Opened 11 years ago Updated 5 years ago

buglist column sort doesn't use full value

Categories

(bugzilla.mozilla.org :: User Interface, defect, P3)

Production
x86
macOS
defect

Tracking

()

People

(Reporter: Dolske, Unassigned)

References

Details

BMO has a number of Product items whose names being with "Firefox": Firefox, Firefox for Android, Firefox for Metro, Firefox Affiliates, etc.

If you have a list of bugs and sort them by Product, they all just show up as "Firefox" (which I assume is for brevity). But the problem is that the sort order does not seem to be using the full product name. So within the sorted list, bugs in the cluster of "Firefox" are randomly ordered for the full product name. That makes it hard to look at a bug list and see how it breaks down by Product.

Here's a list of bugs from https://blog.mozilla.org/community/2013/09/16/firefox-24-new-contributors/ which demonstrates the problem:

https://bugzilla.mozilla.org/buglist.cgi?quicksearch=829862%2C855741%2C875449%2C730626%2C875135%2C876952%2C877908%2C877965%2C878435%2C878444%2C878495%2C878501%2C878520%2C879033%2C882012%2C882514%2C870007%2C838692%2C726015%2C869331%2C875246%2C875608%2C662247%2C869725%2C875737%2C872497%2C879374%2C875666%2C879316%2C408251%2C843667%2C879304%2C879952%2C879954%2C882890%2C838331%2C849072%2C852009%2C873486%2C880371%2C734061%2C875297%2C867567%2C871524%2C873447%2C877985%2C871555%2C867914%2C763483%2C773159%2C794687%2C829603%2C865312%2C866880%2C872003%2C874205%2C879088%2C875852%2C861546%2C772321%2C833382%2C875169%2C882817%2C883843%2C884507%2C884879%2C869703%2C563884%2C841736%2C785156%2C807688%2C871514%2C871938%2C874641%2C790775%2C860089%2C884585%2C608180%2C875287%2C867902%2C868306%2C872758%2C852411%2C818393%2C874791%2C875243%2C876553%2C877409%2C862765%2C869845%2C873453%2C868952%2C875409&list_id=8015130
This is not surprising. The JS code used in bmo to sort columns uses strings displayed in columns. So it has no way to know what the full strings are unless it starts looking at the tooltip associated with each value. The tooltips contain the full strings.
Assignee: general → nobody
Component: Bugzilla-General → General
Product: Bugzilla → bugzilla.mozilla.org
QA Contact: default-qa
Version: unspecified → Production

This odd behaviour will be solved as part of the upcoming search results page overhaul.

Depends on: 1529362

I think the reason behind this is simple: CSS text-overflow: ellipsis; was not available when Bugzilla was initially developed so these labels had to be trimmed server side for narrower columns.

Component: General → User Interface
You need to log in before you can comment on or make changes to this bug.