[Rt-commit] rt branch, admin_ui, updated. e53a58e4cbcd609fe2e75049c00d59ed882fe832

sunnavy at bestpractical.com sunnavy at bestpractical.com
Tue Jan 5 03:20:11 EST 2010


The branch, admin_ui has been updated
       via  e53a58e4cbcd609fe2e75049c00d59ed882fe832 (commit)
      from  15bfe551979e0d05dc51087194c5fd6818b4a861 (commit)

Summary of changes:
 lib/RT/View/Admin/CustomFields.pm |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit e53a58e4cbcd609fe2e75049c00d59ed882fe832
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Jan 5 16:19:45 2010 +0800

    include_disabled link for cf crud list

diff --git a/lib/RT/View/Admin/CustomFields.pm b/lib/RT/View/Admin/CustomFields.pm
index 943187a..d1e4a9b 100644
--- a/lib/RT/View/Admin/CustomFields.pm
+++ b/lib/RT/View/Admin/CustomFields.pm
@@ -119,6 +119,13 @@ private template 'rights' => sub {
         form_submit( label => _('Save') );
     };
 };
+sub _current_collection {
+    my $self = shift; 
+    my $collection = $self->SUPER::_current_collection( @_ );
+    $collection->{'find_disabled_rows'} = get('include_disabled');
+    return $collection;    
+}
+
 
 1;
 

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


More information about the Rt-commit mailing list