[Rt-commit] r4569 - in rtir/branches/1.9-EXPERIMENTAL: . html/Callbacks/RTIR/Elements/Header html/Callbacks/RTIR/autohandler html/RTIR html/RTIR/Elements

alexmv at bestpractical.com alexmv at bestpractical.com
Thu Feb 23 16:05:20 EST 2006


Author: alexmv
Date: Thu Feb 23 16:05:19 2006
New Revision: 4569

Removed:
   rtir/branches/1.9-EXPERIMENTAL/html/RTIR/autohandler
Modified:
   rtir/branches/1.9-EXPERIMENTAL/   (props changed)
   rtir/branches/1.9-EXPERIMENTAL/html/Callbacks/RTIR/Elements/Header/Default
   rtir/branches/1.9-EXPERIMENTAL/html/Callbacks/RTIR/autohandler/Default
   rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/ShowRTIRField
   rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/ProcessQuery

Log:
 r9270 at zoq-fot-pik:  chmrr | 2006-02-23 16:04:32 -0500
  * Fix RTIR link to point to something existant
  * Require RT::IR::Ticket in the autohandler, not other random places
  * Skip -TimeUnits args when adding new constraints


Modified: rtir/branches/1.9-EXPERIMENTAL/html/Callbacks/RTIR/Elements/Header/Default
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/Callbacks/RTIR/Elements/Header/Default	(original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/Callbacks/RTIR/Elements/Header/Default	Thu Feb 23 16:05:19 2006
@@ -1,2 +1,2 @@
 % return unless $m->request_comp->path =~ m{^/RTIR/};
-| <a href="http://www.bestpractical.com/rtir/about.html?version=1.0.0"><&|/l&>About RTIR</&></a>
+| <a href="http://www.bestpractical.com/rtir/"><&|/l&>About RTIR</&></a>

Modified: rtir/branches/1.9-EXPERIMENTAL/html/Callbacks/RTIR/autohandler/Default
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/Callbacks/RTIR/autohandler/Default	(original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/Callbacks/RTIR/autohandler/Default	Thu Feb 23 16:05:19 2006
@@ -1,3 +1,4 @@
 <%init>
 use RT::IR;
+use RT::IR::Ticket;
 </%init>

Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/ShowRTIRField
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/ShowRTIRField	(original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/ShowRTIRField	Thu Feb 23 16:05:19 2006
@@ -28,7 +28,6 @@
 <span class="cf-value novalue"><&|/l&>no value</&></class>
 % }
 <%INIT>
-use RT::IR::Ticket;
 my $fieldvalue = RT::IR::Ticket::FirstCustomFieldValue( $Ticket, "_RTIR_".$Name );
 </%INIT>
 <%ARGS>

Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/ProcessQuery
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/ProcessQuery	(original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/ProcessQuery	Thu Feb 23 16:05:19 2006
@@ -140,6 +140,7 @@
     if ( $arg =~ m/ValueOf(.+)/ && $ARGS{$arg} ne "") {
         # We're adding a $1 clause
         my $field = $1;
+        next if $field =~ /-TimeUnits$/;
         my ($keyword, $op, $value);
 
         #figure out if it's a grouping


More information about the Rt-commit mailing list