projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rt 4.2.16
[freeside.git]
/
rt
/
share
/
html
/
Search
/
Elements
/
SearchesForObject
diff --git
a/rt/share/html/Search/Elements/SearchesForObject
b/rt/share/html/Search/Elements/SearchesForObject
index
efbf220
..
b684f44
100644
(file)
--- a/
rt/share/html/Search/Elements/SearchesForObject
+++ b/
rt/share/html/Search/Elements/SearchesForObject
@@
-2,7
+2,7
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-201
2
Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-201
9
Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@
-50,15
+50,15
@@
$Object => undef
</%args>
<%init>
# Returns an array of search objects associated on $Object,
</%args>
<%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') {
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 - (.*)/) {
}
elsif ($search->Name =~ m/^Search - (.*)/) {
-
push @result, [$1
, $search];
+
push @result, [$1, loc($1)
, $search];
}
}
return @result;
}
}
return @result;