When adding an update to an existing ticket, the 'Assigned' field contains a dropdown box of all users, sorted by uid. If you have a lot of options, as we do, from a usability standpoint this would look better if it were sorted by username or turned into an auto-complete field.

Comments

jeremy’s picture

Assigned: Unassigned » jeremy

Agreed -- there's a few places in the code where it should be using autocomplete fields. Assigning to myself with the intent of implementing this soonish.

jeremy’s picture

Title: Sort 'assigned to' list by username? » Sort 'assigned to' list by username, or make it an auto-sort field

Updating title.

Perhaps logic could count the # of users. If less than 10, a list is simplest to use. If greater than 10, then auto-sort becomes necessary. Does that sound reasonable? Conceivably the number where this switch happens could be made configurable.

jeremy’s picture

Title: Sort 'assigned to' list by username, or make it an auto-sort field » Sort 'assigned to' list by username, or make it an auto-complete field
domesticat’s picture

It's a neat idea, but I'll also admit it's above and beyond what I thought I might get for asking. :)

jeremy’s picture

To begin, I've simply sorted the list alphabetically. Feature committed.

jeremy’s picture

Status: Active » Fixed

Added code to allow this field to be turned into an autocomplete textfield. By default it will automatically become an autocomplete field if there are more than 15 valid users that can be assigned to the ticket.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.