Bug 576320

Summary: would like sorting in the component list
Product: [Community] Bugzilla Reporter: Bill Nottingham <notting>
Component: User InterfaceAssignee: David Lawrence <dkl>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 3.6CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-01 20:51:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1058462    
Attachments:
Description Flags
Patch to move distribution to front of component list for enter_bug.cgi (v1) nelhawar: review+

Description Bill Nottingham 2010-03-23 20:01:21 UTC
Description of problem:

For Fedora, we'd like to enable sorting (via javascript, presumably) in the component list, so that the first component (when submitting bugs, at least) is 'distribution'. Is this possible?

Version-Release number of selected component (if applicable):

bz-current

Comment 1 David Lawrence 2010-03-31 21:49:44 UTC
Created attachment 403834 [details]
Patch to move distribution to front of component list for enter_bug.cgi (v1)

here is a patch that moves distribution if present to the front of the components list so that people will see it easily. I also look for unspecified as well since some products use that to mean they do not know which to choose.

It just resorts the list in the cgi code itself before rendering so it doesn't require javascript.

Please review.

Dave

Comment 2 Noura El hawary 2010-04-01 11:59:33 UTC
Comment on attachment 403834 [details]
Patch to move distribution to front of component list for enter_bug.cgi (v1)

Hi Dave,

seems to be working fine for me on bz-web1. 

Thanks,
Noura

Comment 3 David Lawrence 2010-04-01 20:51:58 UTC
Thanks Noura. Committed to SVN and will be in next weeks update.

Dave