[Rt-commit] r14203 - in rt/branches/3.999-DANGEROUS: share/html/Elements share/html/Search/Elements
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Thu Jul 17 04:52:08 EDT 2008
Author: sunnavy
Date: Thu Jul 17 04:52:07 2008
New Revision: 14203
Modified:
rt/branches/3.999-DANGEROUS/ (props changed)
rt/branches/3.999-DANGEROUS/share/html/Elements/ShowSearch
rt/branches/3.999-DANGEROUS/share/html/Search/Elements/SearchesForObject
rt/branches/3.999-DANGEROUS/share/html/Search/Elements/SelectSearchesForObjects
Log:
r14610 at sunnavys-mb: sunnavy | 2008-07-17 15:43:15 +0800
go on
Modified: rt/branches/3.999-DANGEROUS/share/html/Elements/ShowSearch
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Elements/ShowSearch (original)
+++ rt/branches/3.999-DANGEROUS/share/html/Elements/ShowSearch Thu Jul 17 04:52:07 2008
@@ -89,7 +89,7 @@
} else {
($search) = RT::System->new() ->attributes->named( 'Search - ' . $name );
unless ( $search && $search->id ) {
- my (@custom_searches) = RT::System->new()->attributes->named('SavedSearch');
+ my (@custom_searches) = RT::System->new()->attributes->named('saved_search');
foreach my $custom (@custom_searches) {
if ($custom->description eq $name) { $search = $custom; last }
}
Modified: rt/branches/3.999-DANGEROUS/share/html/Search/Elements/SearchesForObject
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Search/Elements/SearchesForObject (original)
+++ rt/branches/3.999-DANGEROUS/share/html/Search/Elements/SearchesForObject Thu Jul 17 04:52:07 2008
@@ -54,7 +54,7 @@
my @result;
while (my $search = $object->attributes->next) {
my $desc;
- if ($search->name eq 'SavedSearch') {
+ if ($search->name eq 'saved_search') {
push @result, [$search->description, $search];
}
elsif ($search->name =~ m/^Search - (.*)/) {
Modified: rt/branches/3.999-DANGEROUS/share/html/Search/Elements/SelectSearchesForObjects
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Search/Elements/SelectSearchesForObjects (original)
+++ rt/branches/3.999-DANGEROUS/share/html/Search/Elements/SelectSearchesForObjects Thu Jul 17 04:52:07 2008
@@ -58,7 +58,7 @@
<option value=""></option>
<option value=""><&|/l, $object->name&>%1's saved searches</&></option>
% }
-% my @searches = $object->attributes->named('SavedSearch');
+% my @searches = $object->attributes->named('saved_search');
% foreach my $search (@searches) {
% # Skip it if it is not of search type we want.
% next if ($search->sub_value('SearchType')
More information about the Rt-commit
mailing list