[Rt-commit] r4732 - in rtir/branches/1.9-EXPERIMENTAL: html/RTIR/Elements

ruz at bestpractical.com ruz at bestpractical.com
Mon Mar 13 14:55:53 EST 2006


Author: ruz
Date: Mon Mar 13 14:55:52 2006
New Revision: 4732

Modified:
   rtir/branches/1.9-EXPERIMENTAL/   (props changed)
   rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/NewReports

Log:
 r932 at cubic-pc:  cubic | 2006-03-13 23:02:00 +0300
  r924 at cubic-pc:  cubic | 2006-03-13 05:43:23 +0300
  * don't allow to change sorting in portlets
  * use DefaultSummaryRows config option
 


Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/NewReports
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/NewReports	(original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/NewReports	Mon Mar 13 14:55:52 2006
@@ -30,14 +30,15 @@
 &>
 
 <& /RTIR/Search/Elements/ShowResults,
-    Queue     => $Queue,
-    BaseQuery => $BaseQuery,
-    Query     => $Query,
-    Format    => $Format,
-    Rows      => $Rows,
-    Page      => $Page,
-    OrderBy   => $OrderBy,
-    Order     => $Order,
+    Queue        => $Queue,
+    BaseQuery    => $BaseQuery,
+    Query        => $Query,
+    Format       => $Format,
+    Rows         => $Rows,
+    Page         => $Page,
+    OrderBy      => $OrderBy,
+    Order        => $Order,
+    AllowSorting => 0,
 &>
 
 <a href="<% RT->Config->Get('WebPath') %>/RTIR/Report/BulkReject.html?<% $EscapedQueue %>&<% $QueryString %>">[<%loc("Bulk Reject")%>]</a>
@@ -70,8 +71,8 @@
 $Queue     => 'Incident Reports'
 $BaseQuery => $m->comp( '/RTIR/Elements/BaseQuery', Queue => $Queue )
 $Query     => undef
-$Format    => RT->Config->Get('RTIRSearchResultFormats')->{'NewReports'} 
-$Rows      => 50
+$Format    => RT->Config->Get('RTIRSearchResultFormats')->{'NewReports'}
+$Rows      => RT->Config->Get('DefaultSummaryRows', $session{'CurrentUser'})
 $Page      => 1
 $OrderBy   => 'Due'
 $Order     => 'ASC'


More information about the Rt-commit mailing list