[rt-users] Link issues in the Tickets section (ie: static search)
Drew Barnes
barnesaw at ucrwcu.rwc.uc.edu
Fri May 2 17:25:27 EDT 2008
It sounds like your $DefaultSearchResultFormat may be broken. Did you
set this in RT_SiteConfig.pm? If not, check it in RT_Config.pm to make
sure nothing got messed up there.
Barring anything there, go to Advanced on /Search/Build.html in your
browser. Look at the bottom text box, as that defines your search
result format. On every system I've played with, that shows links
formed as <a href="/Ticket/Display.html?id=__id__">__id__</a>
I suspect yours will show as ><a
href="//ticket/Display.html?id=__id__">__id__</a> or something similar.
For your reference, in RT_Config.pm on my live system I have
# $DefaultSearchResultFormat is the default format for RT search results
Set ($DefaultSearchResultFormat, qq{
'<B><A
HREF="$RT::WebPath/Ticket/Display.html?id=__id__">__id__</a></B>/TITLE:#',
'<B><A
HREF="$RT::WebPath/Ticket/Display.html?id=__id__">__Subject__</a></B>/TITLE:Subject',
Status,
QueueName,
OwnerName,
Priority,
'__NEWLINE__',
'',
'<small>__Requestors__</small>',
'<small>__CreatedRelative__</small>',
'<small>__ToldRelative__</small>',
'<small>__LastUpdatedRelative__</small>',
'<small>__TimeLeft__</small>'});
YMMV. Hope this helps you track it down.
Nelson Pereira wrote:
>
> Hi all,
>
>
>
> I’ve noticed a problem that I’m unsure when it actually started.
>
>
>
> When you click on the Tickets link
> (https://domain.com/Search/Build.html) at the top of the page in RT at
> a glance,
>
> When you click on one of the tickets that show up, the link is wrong,
> hence brings you to a page cannot be displayed.
>
>
>
> The link looks like this: https://ticket/Display.html?id=143
>
> When it should look like this:
> https://domain.com/Ticket/Display.html?id=143
>
>
>
> Notice the host part missing and the “t” is suppose to be Capitalized.
>
>
>
> Anyone can tell me how I can fix this? This seams to be an issue with
> the search I think or something.
>
>
>
>
>
> *Nelson Pereira*
> Senior Network Administrator
>
> Protus IP Solutions Inc.
> npereira at protus.com <mailto:npereira at protus.com>
> phone: 613.733.0000 ext.528
> MyFax: 613.822.5083
> www.myfax.com <http://www.myfax.com>
>
> Refer your friends and colleagues to MyFax!
> Click here for more information.
> <http://www.myfax.com/referral_program.asp>
>
>
>
> www.MyFax.com <http://www.myfax.com>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
More information about the rt-users
mailing list