[Rt-commit] [svn] r862 - in rt/branches/rt-3.1: . html/Elements lib/RT/Action

jesse at pallas.eruditorum.org jesse at pallas.eruditorum.org
Mon May 10 18:40:16 EDT 2004


Author: jesse
Date: Mon May 10 18:40:16 2004
New Revision: 862

Modified:
   rt/branches/rt-3.1/   (props changed)
   rt/branches/rt-3.1/html/Elements/MyTickets
   rt/branches/rt-3.1/lib/RT/Action/CreateTickets.pm
Log:


Modified: rt/branches/rt-3.1/html/Elements/MyTickets
==============================================================================
--- rt/branches/rt-3.1/html/Elements/MyTickets	(original)
+++ rt/branches/rt-3.1/html/Elements/MyTickets	Mon May 10 18:40:16 2004
@@ -26,7 +26,7 @@
         Title => loc("[_1] highest priority tickets I requested...", $rows),
         Format => "'<a href=\"$RT::WebPath/Ticket/Display.html?id=__id__\">__id__</a>/TITLE:#', '<a href=\"$RT::WebPath/Ticket/Display.html?id=__id__\">__Subject__</a>/TITLE:Subject', Priority, QueueName, ExtendedStatus",
 
-        Query => " Owner = '".$session{'CurrentUser'}->Id."' AND ( Status = 'new' OR Status = 'open') AND Priority > 0",
+        Query => " Owner = '".$session{'CurrentUser'}->Id."' AND ( Status = 'new' OR Status = 'open')",
         OrderBy => 'Priority',
         Order => 'DESC',
         Rows => $rows,
@@ -34,6 +34,6 @@
         &>
 </&> 
 <%init>
-my $rows=10;
+my $rows=$MyTicketsLength;
 </%init>
 

Modified: rt/branches/rt-3.1/lib/RT/Action/CreateTickets.pm
==============================================================================
--- rt/branches/rt-3.1/lib/RT/Action/CreateTickets.pm	(original)
+++ rt/branches/rt-3.1/lib/RT/Action/CreateTickets.pm	Mon May 10 18:40:16 2004
@@ -664,6 +664,7 @@
 	$content = substr($content, index($content, "\n") + 1);
 	$RT::Logger->debug("First: $first");
 	
+	my $queue;
 	foreach my $line (split(/\n/, $content)) {
 	    next unless $line;
 	    $RT::Logger->debug("Line: $line");


More information about the Rt-commit mailing list