[Rt-commit] rt branch, 4.2/admin-article-cf-links, created. rt-4.1.5-242-ge0e41b5

Thomas Sibley trs at bestpractical.com
Mon Jan 7 20:00:19 EST 2013


The branch, 4.2/admin-article-cf-links has been created
        at  e0e41b54a59897cb14bee736ec7f42b378fd359b (commit)

- Log -----------------------------------------------------------------
commit e0e41b54a59897cb14bee736ec7f42b378fd359b
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Mon Jan 7 16:58:54 2013 -0800

    Fix Article custom fields links in menu
    
    The case of the parameter restricting LookupType changed in 7dd9548, but
    these links were missed.  Without the restriction, they display all CFs.

diff --git a/share/html/Elements/Tabs b/share/html/Elements/Tabs
index 03f9a2b..ca87373 100644
--- a/share/html/Elements/Tabs
+++ b/share/html/Elements/Tabs
@@ -181,11 +181,11 @@ my $build_admin_menu = sub {
 
     my $cfs = $article_admin->child( 'custom-fields' =>
         title => loc('Custom Fields'),
-        path  => '/Admin/CustomFields/index.html?'.$m->comp('/Elements/QueryString', type => 'RT::Class-RT::Article'),
+        path  => '/Admin/CustomFields/index.html?'.$m->comp('/Elements/QueryString', Type => 'RT::Class-RT::Article'),
     );
     $cfs->child( select =>
         title => loc('Select'),
-        path => '/Admin/CustomFields/index.html?'.$m->comp('/Elements/QueryString', type => 'RT::Class-RT::Article'),
+        path => '/Admin/CustomFields/index.html?'.$m->comp('/Elements/QueryString', Type => 'RT::Class-RT::Article'),
     );
     $cfs->child( create =>
         title => loc('Create'),

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


More information about the Rt-commit mailing list