[Rt-commit] r13281 - in rt/branches/3.8-TESTING: . share/html/SelfService/Elements

elacour at bestpractical.com elacour at bestpractical.com
Fri Jun 13 10:49:17 EDT 2008


Author: elacour
Date: Fri Jun 13 10:49:15 2008
New Revision: 13281

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/share/html/SelfService/Closed.html
   rt/branches/3.8-TESTING/share/html/SelfService/Elements/MyRequests
   rt/branches/3.8-TESTING/share/html/SelfService/index.html

Log:
 r9524 at datura:  manu | 2008-06-13 16:49:04 +0200
 * Pass %ARGS to components and change AllowSorting to 1 so now we can sort
   CollectionList in SelfService.
 * Add a default Rows per page of 50 to SelfService.


Modified: rt/branches/3.8-TESTING/share/html/SelfService/Closed.html
==============================================================================
--- rt/branches/3.8-TESTING/share/html/SelfService/Closed.html	(original)
+++ rt/branches/3.8-TESTING/share/html/SelfService/Closed.html	Fri Jun 13 10:49:15 2008
@@ -52,6 +52,7 @@
     friendly_status => loc('closed'), 
 	BaseURL         => RT->Config->Get('WebPath') ."/SelfService/Closed.html?",
 	Page            => $Page,
+    %ARGS
 &>
 
 <%ARGS>

Modified: rt/branches/3.8-TESTING/share/html/SelfService/Elements/MyRequests
==============================================================================
--- rt/branches/3.8-TESTING/share/html/SelfService/Elements/MyRequests	(original)
+++ rt/branches/3.8-TESTING/share/html/SelfService/Elements/MyRequests	Fri Jun 13 10:49:15 2008
@@ -49,12 +49,13 @@
 <& /Elements/CollectionList, Title   => $title,
 			 Format  => $Format, 
 			 Query   => $Query, 
-			 Order   => $Order, 
-			 OrderBy => $OrderBy,
+			 Order   => @Order, 
+			 OrderBy => @OrderBy,
 			 BaseURL => $BaseURL,
 			 GenericQueryArgs => $GenericQueryArgs,
 			 AllowSorting => $AllowSorting,
 			 Class   => 'RT::Tickets',
+             Rows    => $Rows,
 			 Page    => $Page &>
 </&>
 
@@ -74,6 +75,7 @@
    Status,
    Requestors,
    OwnerName};
+
 </%INIT>
 <%ARGS>
 $friendly_status => loc('open')
@@ -83,7 +85,8 @@
 $BaseURL => undef
 $Page => 1
 $GenericQueryArgs => undef
-$AllowSorting => undef
-$Order => "ASC"
-$OrderBy => "Created"
+$AllowSorting => 1
+ at Order => ('ASC')
+ at OrderBy => ('Created')
+$Rows => 50
 </%ARGS>

Modified: rt/branches/3.8-TESTING/share/html/SelfService/index.html
==============================================================================
--- rt/branches/3.8-TESTING/share/html/SelfService/index.html	(original)
+++ rt/branches/3.8-TESTING/share/html/SelfService/index.html	Fri Jun 13 10:49:15 2008
@@ -48,7 +48,7 @@
 <& /SelfService/Elements/Header, Title => loc('Open tickets') &>
 <& /SelfService/Elements/MyRequests,
     BaseURL => RT->Config->Get('WebPath') ."/SelfService/?",
-	Page    => $Page,
+	Page    => $Page, %ARGS
 &>
 
 <%ARGS>


More information about the Rt-commit mailing list