[Rt-commit] r4262 - in rtir/branches/1.9-EXPERIMENTAL: . html/RTIR/Search

ruz at bestpractical.com ruz at bestpractical.com
Wed Dec 7 07:59:52 EST 2005


Author: ruz
Date: Wed Dec  7 07:59:52 2005
New Revision: 4262

Modified:
   rtir/branches/1.9-EXPERIMENTAL/   (props changed)
   rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Results.html
Log:
 r464 at cubic-pc:  cubic | 2005-12-07 16:01:20 +0300
  r456 at cubic-pc:  cubic | 2005-12-07 15:57:52 +0300
  * minor
 


Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Results.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Results.html	(original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Results.html	Wed Dec  7 07:59:52 2005
@@ -44,7 +44,7 @@
 %# 
 %# }}} END BPS TAGGED BLOCK
 <& /Elements/Header, Title => $title, Refresh => $session{'tickets_refresh_interval'} &>
-<& '/RTIR/'.$Type.'/Elements/Tabs', 
+<& '/RTIR/'.$Type.'/Elements/Tabs',
     current_tab => "RTIR/Search/Results.html?Queue=$Queue&$QueryString",
     Title => $title,
     Format => $Format,
@@ -56,7 +56,6 @@
 &>
 
 <& /Elements/ListActions, actions => \@results &>
-<hr />
 
 <& Elements/ShowResults,
     %ARGS,
@@ -66,13 +65,12 @@
 &>
 
 <%INIT>
-my ($Type) = $m->comp("/RTIR/Elements/Type", Queue => $Queue);
-$Format ||= $RT::RTIRSearchResultFormats->{$Type . 'Default'};
-
 my $title = loc("Results");
 
-$Query ||= $m->comp('/RTIR/Elements/NewQuery', Queue => $Queue);
+my ($Type) = $m->comp( "/RTIR/Elements/Type", Queue => $Queue );
+$Format    ||= $RT::RTIRSearchResultFormats->{ $Type . 'Default' };
 $BaseQuery ||= $m->comp('/RTIR/Elements/BaseQuery', Queue => $Queue);
+$Query     ||= $m->comp('/RTIR/Elements/NewQuery', Queue => $Queue);
 
 my $QueryString = $m->comp( '/Elements/QueryString',
                             BaseQuery => $BaseQuery,
@@ -92,11 +90,10 @@
 $BaseQuery => undef
 $Query => undef
 $Format => undef 
-$HideResults => 0
 $Rows => 50
 $Page => 1
 $OrderBy => 'id'
 $Order => 'ASC'
-$Queue => undef
+$Queue => ''
 @results => ()
 </%ARGS>


More information about the Rt-commit mailing list