--
Roger Oberholtzer
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...
Never tred it, though! I did look at the 'clone ticket' which shows the general idea:
http://trac.edgewall.org/wiki/TicketClone#
~ mark c
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
> > I would like to click on the project number and initiateThey are indeed generated search queries. I would just like to have them
> > 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...
generated for more fields.
They are "text", not "textarea". Fields with names get the search. I
would imagine they are text as well. But they are built in. I gather it
is only custom "text" fields that do not get the search. Is that by
design?
--
Roger Oberholtzer
I see the statement that text fields should never be linkified. Odd
statement. What does one type into a search box other than text? I can
agree that having it on globally and by default might be a bit much. But
saying that text fields should never lead to a search seems rather
draconian.
>
> There was some discussion of adding a ``linked_fields`` configuration
> option that would let users turn on this feature for their own custom
> text fields, but it looks like it was never implemented. (I can't
> find any reference to "linked_fields" in a checkout of the Trac
> source, and don't see any logic related to that idea in
> ticket/web_ui.py where the feature is implemented.)
>
>
> http://trac.edgewall.org/ticket/7562#comment:23 says that "there is no
> longer a need for a specific option to unlink/link fields" but it's
> not clear to me why that's the case. So it might be worth a feature
> request.
>
The linked_fields would be a useful thing to me.
>
>
> That said, is there a reason you want to use a "text" field instead of
> a "select"?
Some fields, like project numbers, contain non-numeric characters. So I
made them text. Project numbers drop from the sky like rain. They need
to be something one can enter in the ticket as needed. Is there a better
option than text for this?
>
I see the statement that text fields should never be linkified. Oddstatement. What does one type into a search box other than text? I can
agree that having it on globally and by default might be a bit much. But
saying that text fields should never lead to a search seems rather
draconian.
Some fields, like project numbers, contain non-numeric characters. So Imade them text. Project numbers drop from the sky like rain. They need
to be something one can enter in the ticket as needed. Is there a better
option than text for this?
The linked_fields would be a useful thing to me.
Could it be possible to add a new type of custom ticket field; ”keyword” which behaves exactly as the built in keyword field?
Could it be possible to add a new type of custom ticket field; ”keyword” which behaves exactly as the built in keyword field?
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-...@googlegroups.com.
To unsubscribe from this group, send email to trac-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
This sounds great. I will check it out and report back.
>
--
Roger Oberholtzer
Just tried the link. Works great! I think this will help us organize a
bit of out work. Thanks alot! I never would have figured that change.
>
>
--
Roger Oberholtzer
>
Just tried the link. Works great! I think this will help us organize a
bit of out work. Thanks alot! I never would have figured that change.