[Rt-commit] rt branch, 4.0/add-with-disabled-column, created. rt-4.0.13-53-g3f8a29f
Todd Wade
todd at bestpractical.com
Wed Jun 5 10:13:58 EDT 2013
The branch, 4.0/add-with-disabled-column has been created
at 3f8a29fefcbc73d0a9d8ca35e5c6d8d4ccd1ad07 (commit)
- Log -----------------------------------------------------------------
commit 3f8a29fefcbc73d0a9d8ca35e5c6d8d4ccd1ad07
Author: Todd Wade <todd at bestpractical.com>
Date: Wed Jun 5 10:10:34 2013 -0400
set with_disabled_column in RT::Classes
RT::Classes has a disabled column in the database but it was not
flagged in the collection class. This could cause issues with
searching
See issues:20766
diff --git a/lib/RT/Classes.pm b/lib/RT/Classes.pm
index 60122c7..8949d9b 100644
--- a/lib/RT/Classes.pm
+++ b/lib/RT/Classes.pm
@@ -54,6 +54,15 @@ use base 'RT::SearchBuilder';
sub Table {'Classes'}
+=head2 _Init
+
+=cut
+
+ sub _Init {
+ my $self = shift;
+ $self->{'with_disabled_column'} = 1;
+ return ($self->SUPER::_Init(@_));
+ }
=head2 Next
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list