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

ruz at bestpractical.com ruz at bestpractical.com
Mon Apr 17 17:22:29 EDT 2006


Author: ruz
Date: Mon Apr 17 17:22:29 2006
New Revision: 5042

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

Log:
 r1307 at cubic-pc:  cubic | 2006-04-18 01:08:53 +0400
 * split ShowNavigation into two: ShowNavigation and ShowListActions
 ** ShowNavigation - shows only page navigation: number of pages, Next, Prev and so on.
 ** ShowListActions - shows actions below the list: RSS, spreadsheet and other
 * by default ShowListActions = ShowNavigation, it's backward compatible


Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/ShowResults
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/ShowResults	(original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/ShowResults	Mon Apr 17 17:22:29 2006
@@ -10,7 +10,7 @@
     AllowSorting => $AllowSorting,
 &>
 
-% if ( $ShowNavigation ) {
+% if ( $ShowListActions ) {
 <div align="right">
 <%PERL>
 # this would do well as a Callback
@@ -46,7 +46,7 @@
 % }
 <&|/l, $m->scomp('/Search/Elements/SelectGroupBy', Name => 'PrimaryGroupBy') &>grouped by [_1]</&>
 <&|/l, $m->scomp('/Search/Elements/SelectChartType', Name => 'ChartStyle') &>style: [_1]</&>
-<input type="submit" class="button" value="<%loc('Go')%>" />
+<input type="submit" class="button" value="<% loc('Go') %>" />
 </form>
 
 </div>
@@ -75,19 +75,20 @@
 
 </%INIT>
 <%ARGS>
-$Queue          => ''
+$Queue           => ''
 
-$BaseQuery      => ''
-$Query          => ''
-$Format         => ''
-$Rows           => undef
-$Page           => 1
-$OrderBy        => $session{'CurrentSearchHash'}->{'OrderBy'} || 'id'
-$Order          => $session{'CurrentSearchHash'}->{'Order'}   || 'ASC'
-
-$BaseURL        => "RTIR/Search/Results.html?"
-
-$ShowNavigation => 0
-$AllowSorting   => 1
-$ShowEmpty      => 0
+$BaseQuery       => ''
+$Query           => ''
+$Format          => ''
+$Rows            => undef
+$Page            => 1
+$OrderBy         => $session{'CurrentSearchHash'}->{'OrderBy'} || 'id'
+$Order           => $session{'CurrentSearchHash'}->{'Order'}   || 'ASC'
+
+$BaseURL         => "RTIR/Search/Results.html?"
+
+$ShowEmpty       => 0
+$ShowNavigation  => 0
+$ShowListActions => $ShowNavigation
+$AllowSorting    => 1
 </%ARGS>


More information about the Rt-commit mailing list