X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rt%2Fshare%2Fhtml%2FSearch%2FElements%2FSearchesForObject;h=34894918c8ca118254d591bf81861f293c9cab09;hb=e9e0cf0989259b94d9758eceff448666a2e5a5cc;hp=35007bde5cb0e88c46d61846070ded2b5c4262c1;hpb=fc6209f398899f0211cfcedeb81a3cd65e04a941;p=freeside.git diff --git a/rt/share/html/Search/Elements/SearchesForObject b/rt/share/html/Search/Elements/SearchesForObject index 35007bde5..34894918c 100644 --- a/rt/share/html/Search/Elements/SearchesForObject +++ b/rt/share/html/Search/Elements/SearchesForObject @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -50,15 +50,15 @@ $Object => undef <%init> # Returns an array of search objects associated on $Object, -# in the form of [Description, searchObj] +# in the form of [Description, LocalizedDescription, searchObj] my @result; while (my $search = $Object->Attributes->Next) { my $desc; if ($search->Name eq 'SavedSearch') { - push @result, [$search->Description, $search]; + push @result, [$search->Description, $search->Description, $search]; } elsif ($search->Name =~ m/^Search - (.*)/) { - push @result, [$1, $search]; + push @result, [$1, loc($1), $search]; } } return @result;