[Bps-public-commit] RT-BugTracker branch, rt4, updated. b9c9194023f41e1725937b75bcb0b5d3351bb092

Thomas Sibley trs at bestpractical.com
Tue Apr 2 01:54:26 EDT 2013


The branch, rt4 has been updated
       via  b9c9194023f41e1725937b75bcb0b5d3351bb092 (commit)
      from  3ebbb67b624a7aaa2990bd333b5da19b4b717770 (commit)

Summary of changes:
 Makefile.PL                                         | 2 +-
 html/Callbacks/BugTracker/Elements/Tabs/SelfService | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit b9c9194023f41e1725937b75bcb0b5d3351bb092
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Mon Apr 1 22:42:36 2013 -0700

    Add the Distributions menu after search (and before tools)
    
    add_after was first added to RT in 4.0.9.

diff --git a/Makefile.PL b/Makefile.PL
index bf9554a..7794d5e 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -5,6 +5,6 @@ RTx('RT-BugTracker');
 all_from        ('lib/RT/BugTracker.pm');
 readme_from     ('lib/RT/BugTracker.pm');
 
-requires_rt('4.0.0');
+requires_rt('4.0.9');
 
 WriteAll();
diff --git a/html/Callbacks/BugTracker/Elements/Tabs/SelfService b/html/Callbacks/BugTracker/Elements/Tabs/SelfService
index e541a9c..81a5364 100644
--- a/html/Callbacks/BugTracker/Elements/Tabs/SelfService
+++ b/html/Callbacks/BugTracker/Elements/Tabs/SelfService
@@ -51,7 +51,7 @@ my $escaped_uname = $m->interp->apply_escapes(
     $session{'CurrentUser'}->UserObj->Name, 'u'
 );
 
-my $tracker = Menu()->child(
+my $tracker = Menu->child("search")->add_after(
     bugtracker => title => loc('Distributions'),
     path => '/Dist/ByMaintainer.html?Name=' . $escaped_uname,
 );

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



More information about the Bps-public-commit mailing list