Re: [Trac] Populate multiselect options with milestone names

2017-10-06 Thread RjOllos
On Friday, October 6, 2017 at 6:45:54 AM UTC-7, andrea knight wrote: > > I believe what I am trying to do, is (almost) exactly this > > [ticket-custom] > > exists_in text > exists_in.format = list > exists_in.label = Exists_In > exists_in.multiselect = true > exists_in.options =

Re: [Trac] Populate multiselect options with milestone names

2017-10-06 Thread andrea knight
I believe what I am trying to do, is (almost) exactly this [ticket-custom] exists_in text exists_in.format = list exists_in.label = Exists_In exists_in.multiselect = true exists_in.options = [[MilestoneQuery(%rc_%,,)]] where Milestone query returns the correctly formatted list of milestones.

Re: [Trac] Populate multiselect options with milestone names

2017-10-06 Thread andrea knight
Actually, I want to query the milestones, and use that list as input to a custom field. We want a field that allows users to specify all of the milestones where a bug exists, or has been fixed. I am working on extending the MultiSelectFieldPlugin to do what I am looking for, but I was

Re: [Trac] Populate multiselect options with milestone names

2017-10-05 Thread RjOllos
On Thursday, October 5, 2017 at 4:03:44 AM UTC-7, andrea knight wrote: > > HI Ryan, > > I have installed MultiSelectFieldPlugin., but I am not sure if syntax > already exists to query the database for current milestone values? > I have tried the syntax from SQLAlchemy plugin, but I have not

Re: [Trac] Populate multiselect options with milestone names

2017-10-05 Thread andrea knight
HI Ryan, I have installed MultiSelectFieldPlugin., but I am not sure if syntax already exists to query the database for current milestone values? I have tried the syntax from SQLAlchemy plugin, but I have not been able to get that working. If syntax does not exist, I can extend the

Re: [Trac] Populate multiselect options with milestone names

2017-10-04 Thread Ryan Ollos
From: andrea knight Sent: Wednesday, October 4, 09:39 Subject: [Trac] Populate multiselect options with milestone names To: Trac Users We would like to track where bugs exist by using the multi-select custom type. Is something like this possible? [ticket-custom] existsin= text