Modify ↓
Opened 12 years ago
Closed 8 years ago
#10719 closed enhancement (wontfix)
turn "Ticket Component Subscriptions" into "Ticket custom-field 'project' Subscriptions"
Reported by: | falkb | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | AnnouncerPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description
I rather like to have ticket custom-field 'project' being watched than 'component'.
I took a quick look in source:announcerplugin/trunk/announcer/opt/subscribers.py#L359 and it seems to me I just have to change the call of for c in model.Component.select(self.env)
in function def render_announcement_preference_box(self, req, panel)
in a way that the returned list are the values of another ticket custom-field instead of the ones of table components. Would that work?
Attachments (0)
Change History (3)
comment:1 Changed 12 years ago by
comment:2 Changed 8 years ago by
Owner: | Steffen Hoffmann deleted |
---|
comment:3 Changed 8 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Please upgrade to Trac 1.2, which has integrated the core of AnnouncerPlugin. Please raise the issue on the trac:MailingList if you encounter the issue with Trac 1.2.
Note: See
TracTickets for help on using
tickets.
Now this is more or less a first question, but due demands here I plan to make a patch anyway, and I'm going to attach it here then.