I would like to create a customised display format that is only used for
a Simple search. ie I would like to keep the default display format for
a regular search. Is this possible? If so, what files would I have to
add/change?
I would like to create a customised display format that is only used
for a Simple search. ie I would like to keep the default display
format for a regular search. Is this possible? If so, what files
would I have to add/change?
You’d need to change Search/Simple.html to pass a Format to
Result.html.
Most likely you’d want to use the style of the other Formats defined
in RT_Config.pm and make this a config option and send in a patch
Here are some details for others about what I did:
I ended up modifying and renaming 3 files, Simple.html, Results.html and
Googleish.pm
We now have a ticket custom field called “Serial Number” which is linked
to a modified Simple.html (Simple2.html) web page. This allows us to
click on the displayed serial number which then automatically opens a
separate search page displaying all other tickets containing that serial
number.
Unfortunately my programming skills are only good enough to hack
together a solution for my particular requirements and would in no way
be suitable for applying a patch. Also, this was still on rt-3.6 (will
upgrade when I have to).
GordonOn 27/05/2010 12:37 AM, Kevin Falcone wrote:
I would like to create a customised display format that is only used
for a Simple search. ie I would like to keep the default display
format for a regular search. Is this possible? If so, what files
would I have to add/change?
You’d need to change Search/Simple.html to pass a Format to
Result.html.
Most likely you’d want to use the style of the other Formats defined
in RT_Config.pm and make this a config option and send in a patch