[Rt-commit] r11826 - rt/branches/3.8-TESTING/html/Widgets

ruz at bestpractical.com ruz at bestpractical.com
Tue Apr 22 17:25:39 EDT 2008


Author: ruz
Date: Tue Apr 22 17:25:39 2008
New Revision: 11826

Modified:
   rt/branches/3.8-TESTING/html/Widgets/SavedSearch

Log:
* API of /Search/Elements/EditSearches have been changed
** no Name argument anymore
** Id instead of SearchId

Modified: rt/branches/3.8-TESTING/html/Widgets/SavedSearch
==============================================================================
--- rt/branches/3.8-TESTING/html/Widgets/SavedSearch	(original)
+++ rt/branches/3.8-TESTING/html/Widgets/SavedSearch	Tue Apr 22 17:25:39 2008
@@ -134,8 +134,13 @@
 
 <%method show>
 <form method="post" action="<% $Action %>" name="SaveSearch">
-<& /Search/Elements/EditSearches, Name => 'Owner', Type => $self->{SearchType}, AllowCopy => 0,
-   CurrentSearch => $self->{CurrentSearch}, SearchId => $self->{SearchId}, Title => $Title  &><br />
+<& /Search/Elements/EditSearches,
+    Id            => $self->{SearchId},
+    Type          => $self->{SearchType},
+    CurrentSearch => $self->{CurrentSearch},
+    Title         => $Title,
+    AllowCopy     => 0,
+&><br />
 <%PERL>
 foreach my $field ( @{$self->{SearchFields}} ) {
     if ( ref($ARGS{$field}) && ref($ARGS{$field}) ne 'ARRAY' ) {


More information about the Rt-commit mailing list