[Rt-commit] rt branch, 4.0-trunk, updated. rt-4.0.0rc4-26-g8b4fe7c

Alex Vandiver alexmv at bestpractical.com
Mon Jan 31 11:43:23 EST 2011


The branch, 4.0-trunk has been updated
       via  8b4fe7cc682c2b7ac94a8005c11c155b97d8fe14 (commit)
       via  a797a5a6723d377b3c0ba991a88a5751c3143be3 (commit)
      from  70e268780b2f1138879f4386f6773189a4113c60 (commit)

Summary of changes:
 share/html/Elements/Tabs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit a797a5a6723d377b3c0ba991a88a5751c3143be3
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Fri Jan 28 13:18:04 2011 -0500

    FindAllRows doesn't
    
    FindAllRows searches for disabled rows and is used quite extensively in
    RT, so we can't just "fix" it (it was added in c723178c28)

diff --git a/share/html/Elements/Tabs b/share/html/Elements/Tabs
index ba63a3e..caa0f11 100755
--- a/share/html/Elements/Tabs
+++ b/share/html/Elements/Tabs
@@ -701,7 +701,7 @@ my $build_admin_menu = sub {
 
 my $build_selfservice_nav = sub {
     my $queues = RT::Queues->new( $session{'CurrentUser'} );
-    $queues->FindAllRows;
+    $queues->UnLimit;
 
     my $queue_count = 0;
     my $queue_id    = 1;

commit 8b4fe7cc682c2b7ac94a8005c11c155b97d8fe14
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Fri Jan 28 13:54:58 2011 -0500

    Fix capitalization
    
    Create.html actually looks for Queue not queue

diff --git a/share/html/Elements/Tabs b/share/html/Elements/Tabs
index caa0f11..e85b059 100755
--- a/share/html/Elements/Tabs
+++ b/share/html/Elements/Tabs
@@ -720,7 +720,7 @@ my $build_selfservice_nav = sub {
     if ( $queue_count > 1 ) {
         $tickets->child( new => title => loc('New ticket'), path => '/SelfService/CreateTicketInQueue.html' );
     } else {
-        $tickets->child( new => title => loc('New ticket'), path => '/SelfService/Create.html?queue=' . $queue_id );
+        $tickets->child( new => title => loc('New ticket'), path => '/SelfService/Create.html?Queue=' . $queue_id );
     }
 
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list