We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 398bdbb commit 4cd245dCopy full SHA for 4cd245d
t/ticket/search_by_cf_numeric.t
@@ -52,6 +52,10 @@ $tickets->FromSQL(q{Queue = 'General' AND CF.test_cf < CF.test_cf2 });
52
is( $tickets->Count, 1, 'Found 1 ticket' );
53
is( $tickets->First->id, $tickets[1]->id, 'Found the small ticket' );
54
55
+$tickets->FromSQL(q{Queue = 'General' AND CF.test_cf LIKE 2 });
56
+is( $tickets->Count, 1, 'Found 1 ticket' );
57
+is( $tickets->First->id, $tickets[0]->id, 'Found the big ticket' );
58
+
59
$tickets->FromSQL(q{Queue = 'General'});
60
is( $tickets->Count, 2, 'Found 2 tickets' );
61
$tickets->OrderByCols( { FIELD => 'CustomField.test_cf' } );
0 commit comments