[rt-users] RT 4.4.1, Assets, empty names
Gérald Sédrati-Dinet
gibus at easter-eggs.com
Tue Dec 20 12:06:49 EST 2016
Le 20/12/2016 à 16:33, Kyle Dippery a écrit :
> This seems like such a silly thing, that I must be missing something.
> If I create an Asset, but leave the Name field blank, how do I later
> select that Asset?
>
> I can see it in Search results, but there are no clickable spots in its
> line except the show-related-tickets links.
What you see in Search results depends on $AssetSearchFormat settings.
By default (RT_Config.pm) it is:
q[
'<a
href="__WebHomePath__/Asset/Display.html?id=__id__">__Name__</a>/TITLE:Name',
Description,
'__Status__ (__Catalog__)/TITLE:Status',
Owner,
HeldBy,
Contacts,
'__ActiveTickets__ __InactiveTickets__/TITLE:Related tickets',
]
with the link (href) on the name field.
To solve your issue, you can redefine $AssetSearchFormat with __id__
instead of __Name__.
--
Easter-eggs Spécialiste GNU/Linux
44-46 rue de l'Ouest - 75014 Paris - France - Métro Gaité
Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 43 35 00 76
mailto:gsedrati-dinet at easter-eggs.com - http://www.easter-eggs.com
More information about the rt-users
mailing list