[Rt-commit] rt branch, 4.2/date-is-null, repushed
Alex Vandiver
alexmv at bestpractical.com
Fri Jan 3 20:07:08 EST 2014
The branch 4.2/date-is-null was deleted and repushed:
was 2dfcad5bb1dd63616e0adddeab86b4f15d4d06aa
now 51aadc960f01dcc828d595d25cff0cf190cafa0e
1: b874550 = 1: b874550 Allow searching for dates which are unset
2: 00903d8 = 2: 00903d8 Add an UPGRADING note about the changed meaning of < in date limits
3: f8ccfdf = 3: f8ccfdf Add some simple tests for IS and IS NOT NULL
4: 2dfcad5 ! 4: 51aadc9 Allow IS/IS NOT with LimitDate, by providing DefaultEA for them
@@ -29,7 +29,6 @@
+ my $tickets = RT::Tickets->new( RT->SystemUser );
+ $tickets->LimitDate( FIELD => "Resolved", OPERATOR => "IS", VALUE => "NULL" );
+ $tickets->LimitDate( FIELD => "Resolved", OPERATOR => "IS NOT", VALUE => "NULL" );
-+ warn $tickets->BuildSelectQuery;
+ my $count = $tickets->Count();
+ ok $count > 1, "Found more than one ticket";
+ undef $count;
More information about the rt-commit
mailing list