On Mon, 2012-03-26 at 10:12 +0100, Cooke, Mark wrote: > > -----Original Message----- > > From: [email protected] On Behalf Of Roger Oberholtzer > > Sent: 26 March 2012 10:06 > > To: [email protected] > > Subject: [Trac] Searchable values in tickets > > > > Some variables in tickets are links to all occurrences of > > that item. For example, the ticket owner or the milestone. > > Click on those, and a search is done based on the value of > > the field. How can I get that for fields I have added? For > > example, I have a field that contains a project number. > > I would like to click on the project number and initiate > > a search for all occurrences of that project number. Is > > this possible? > > > AFAIK there is no built-in way to do this. > > I believe that those links are just generated search queries and I am > thinking that you could probably write a Genshi stream filter to look for the > right page (ticket?) and then search for your field name and update the > streamed value to an href with the right parameters...
They are indeed generated search queries. I would just like to have them generated for more fields. > Never tred it, though! I did look at the 'clone ticket' which shows the > general idea: > > http://trac.edgewall.org/wiki/TicketClone# I will check this. Thank's for the pointer. -- Roger Oberholtzer -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
