Edgewall Software
Modify

Opened 3 years ago

Closed 2 years ago

Last modified 2 years ago

#12447 closed defect (fixed)

Actions in batch-modify form should be sorted by `.default` attribute

Reported by: Jun Omae Owned by: Ryan J Ollos
Priority: normal Milestone: 1.0.12
Component: ticket system Version:
Severity: normal Keywords: batch-modify
Cc:
Release Notes:

Workflow actions on the batch modify form are sorted by the default attribute.

API Changes:

Description

The actions in ticket form are sorted by the .default attribute. However, the actions in batch-modify form are sorted by the action key. The behavior confuses users.

I think the actions in batch-modify form should be sorted by the .default attribute, also.

Attachments (0)

Change History (5)

comment:1 Changed 3 years ago by Ryan J Ollos

Milestone: 1.0.111.0.12

comment:2 Changed 2 years ago by Ryan J Ollos

Owner: set to Ryan J Ollos
Status: newassigned

Proposed fix in log:rjollos.git:t12447.

comment:3 Changed 2 years ago by Jun Omae

Looks good to me. Thanks.

comment:4 Changed 2 years ago by Ryan J Ollos

Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

Thanks. Committed to 1.0-stable in r14869, merged to trunk in r14870.

comment:5 Changed 2 years ago by Ryan J Ollos

While working on this ticket, I wondered if it might make sense to move the call to add_template_data in query.py to an implementation of IRequestFilter in batch.py: trunk/trac/ticket/query.py@14914:1133-1137#L1113.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted.
to The owner will be changed from Ryan J Ollos to the specified user.

Add Comment


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