Edgewall Software
Modify

Opened 18 years ago

Last modified 11 years ago

#5031 new enhancement

Queries ought to support less/great than for ordered values (i.e. priorities and severities)

Reported by: macke@… Owned by:
Priority: normal Milestone: next-major-releases
Component: ticket system Version: 0.10.2
Severity: normal Keywords: query
Cc: olemis+trac@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I.e. expand the [is|is not] operator set a bit.

Attachments (0)

Change History (10)

comment:1 by Christian Boos, 18 years ago

Keywords: query added
Milestone: 0.12
Severity: trivialnormal

Similar to the request for ordering on dates (I can't find that ticket anymore, but it's not a duplicate anyway).

And no, it's not a trivial change…

The TicketQuery expressions should also support the common ordering operators (<, ⇐, ⇒, >).

in reply to:  1 comment:2 by Marcus Lindblom <macke@…>, 18 years ago

Replying to cboos:

Similar to the request for ordering on dates (I can't find that ticket anymore, but it's not a duplicate anyway).

Right.

And no, it's not a trivial change…

Sorry, I meant priority. Shouldn't have touched that field.

The TicketQuery expressions should also support the common ordering operators (<, ⇐, ⇒, >).

Yup.

comment:3 by Christian Boos, 18 years ago

#1943 was the ticket about ticket date range queries I was looking for this morning.

comment:4 by Christian Boos, 18 years ago

(more precisely #4594, which was closed as a duplicate of #1943)

comment:5 by Christian Boos, 16 years ago

Milestone: 0.130.12

comment:6 by Remy Blank, 16 years ago

Related to #7419, which suggests defining an order for ticket statuses.

comment:7 by Christian Boos, 15 years ago

Owner: Jonas Borgström removed

comment:8 by Remy Blank, 15 years ago

Milestone: 0.12next-major-0.1X

comment:9 by trancesilken@…, 11 years ago

The problem here is that the priority and severity and other such enum type of values are stored as text. Sorting them based on < > ⇐ ≥ is not an option unless one also compares against the ordering number which is stored in the enum table.

However, the ordering number does only reflect the ordering by which the individual items will be displayed in the drop down when editing an issue.

The information as to which priority has the highest priority and which has the lowest is simply not there, unless one wants to utilize the ordering field in the enum table for this. And by comparing the strings alphanumerically will not do the trick, unless you assign your priorities names such as "1" for the lowest priority, or "2", or "3" for the highest priority.

The same is true for the severity field.

comment:10 by Olemis Lang <olemis+trac@…>, 11 years ago

Cc: olemis+trac@… added

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.