Closed
Bug 304572
Opened 19 years ago
Closed 19 years ago
event status sort order should match listed order, not alphabetical
Categories
(Calendar :: Sunbird Only, defect)
Calendar
Sunbird Only
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gekacheka, Assigned: mostafah)
Details
Attachments
(1 file)
|
1.25 KB,
patch
|
mvl
:
first-review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Currently the sorting the events by the status column sorts alphabetically. It should sort in the same order as appears in the event dialog, which is chronological: (none), tentative, confirmed, cancelled. Reproducible: Always Steps to Reproduce: 1. create events with varying status: none, tentative, confirmed, cancelled. 2. enable status column of event list, if necessary 3. sort by status column Actual Results: sort order: (none), cancelled, confirmed, tentative Expected Results: sort order: (none), tentative, confirmed, cancelled Can use same indexOf approach as in task list (bug 295168).
(patch -l -p 2 -i file.patch) Use same approach as in unifinderToDo.js: use an array of event status values in chronological order and sort by index of each event status in this array.
Attachment #192628 -
Flags: first-review?(mvl)
Comment 2•19 years ago
|
||
Comment on attachment 192628 [details] [diff] [review] sort status by position in chronological list, not alphabetically r=mvl
Attachment #192628 -
Flags: first-review?(mvl) → first-review+
Comment 3•19 years ago
|
||
checked in
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•