Closed Bug 426140 Opened 17 years ago Closed 17 years ago

Wrong sort order for priority

Categories

(Calendar :: Tasks, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: larsen007, Assigned: Fallen)

Details

Attachments

(1 file)

User-Agent:       Opera/9.26 (Windows NT 5.1; U; en)
Build Identifier: 0.8 RC1

When I click on the ! within the task list header, I assume that the items will be ordered by priority, i.e. high > normal > low. This is not the case as the order is high > low > normal.


Reproducible: Always

Steps to Reproduce:
1. Click on priority column header
2.
3.
Please clarify: Is the priority for the task set to Normal or to None (default)?
Ah, okay. This could be the problem. I assumed that tasks with no explicit priority set have prio normal. What´s the difference between no prio and normal?
Attached patch Fix order - v1 — — Splinter Review
From a user-standpoint, I also think that there should be no difference. From a technical standpoint, items with no priority set will not have a PRIORITY field (see rfc2445 chapter 4.8.1.9 Priority), while "normal" priority will be something like PRIORITY:5.

I think we should modify the sort order to make no-priority items be "normal".
Assignee: nobody → philipp
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #312885 - Flags: ui-review?(christian.jansen)
Attachment #312885 - Flags: review?(Berend.Cornelius)
OS: Windows XP → All
Hardware: PC → All
See also discussion in Bug 266602 and Bug 357384 that introduced the current sort order. Sorting "None" together with "Normal" was considered but discarded.
Comment on attachment 312885 [details] [diff] [review]
Fix order - v1

Works for me. THanks for the patch. ui-r=christian
Attachment #312885 - Flags: ui-review?(christian.jansen) → ui-review+
Comment on attachment 312885 [details] [diff] [review]
Fix order - v1

patch works as advertised; r=berend
Attachment #312885 - Flags: review?(Berend.Cornelius) → review+
Checked in on HEAD and MOZILLA_1_8_BRANCH

-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → 0.9
Verified with Lt 2006041006 and Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.15pre) Gecko/20080410 Calendar/0.9pre
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: