#10462 closed enhancement (fixed)
Option to specify default "group by" field in milestone view
Reported by: | arkinform | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 1.2 |
Component: | roadmap | Version: | |
Severity: | normal | Keywords: | bitesized milestone |
Cc: | Branch: | ||
Release Notes: |
|
||
API Changes: | |||
Internal Changes: |
Description
Now, by default hardcoded "Ticket status by component". But, for example, I want "Ticket status by owner" as default.
Attachments (2)
Change History (13)
comment:1 by , 13 years ago
Component: | general → roadmap |
---|---|
Keywords: | bitesized added |
Milestone: | → next-major-0.1X |
Summary: | Option to specify "group by" field in milestone view by default → Option to specify default "group by" field in milestone view |
comment:2 by , 13 years ago
comment:3 by , 13 years ago
I think the OP meant the field at the top of the "Ticket Status by" box on the right, not the milestone completion bar.
by , 9 years ago
#10462 patch 1
comment:5 by , 9 years ago
I have added patch to the this ticket. added new configuration in trac.ini under milestone "default_group_by" and set that value as default group by value
comment:6 by , 9 years ago
I haven't tested the patch, but I see a few things that need to be fixed:
- The diff is reversed.
- An
Option
must be defined in theRoadmapModule
class, similar to thisExtensionOption
: trunk/trac/ticket/roadmap.py@14193:405#L400. You can then access the value usingself.default_group_by
.
by , 9 years ago
Attachment: | #10462_.patch added |
---|
added new Option default_group_by and check its availability and set that as default group by
comment:8 by , 9 years ago
Milestone: | next-major-releases → 1.2 |
---|---|
Owner: | set to |
Release Notes: | modified (diff) |
Status: | new → assigned |
Thanks for the patch. I'll add a test and commit the change.
comment:9 by , 9 years ago
Keywords: | milestone added |
---|---|
Release Notes: | modified (diff) |
Resolution: | → fixed |
Status: | assigned → closed |
Committed to trunk in [14228]. Thanks Thimal!
comment:10 by , 9 years ago
Owner: | changed from | to
---|
comment:11 by , 9 years ago
Owner: | changed from | to
---|
For your request (default group by) there is available customization through
trac.ini
. See: TracRoadmap and TracRoadmapCustomGroups.