[Rt-commit] r3313 - in rt/branches/CHALDEA-EXPERIMENTAL: . lib/RT
jesse at bestpractical.com
jesse at bestpractical.com
Sun Jul 3 18:07:35 EDT 2005
Author: jesse
Date: Sun Jul 3 18:07:35 2005
New Revision: 3313
Modified:
rt/branches/CHALDEA-EXPERIMENTAL/ (props changed)
rt/branches/CHALDEA-EXPERIMENTAL/lib/RT/SearchBuilder.pm
Log:
r22128 at hualien: jesse | 2005-07-03 17:47:18 -0400
r20545 at hualien: jesse | 2005-06-15 15:58:15 -0400
r20542 at hualien: jesse | 2005-06-15 15:56:43 -0400
* Made search-by-any-customfield work
Modified: rt/branches/CHALDEA-EXPERIMENTAL/lib/RT/SearchBuilder.pm
==============================================================================
--- rt/branches/CHALDEA-EXPERIMENTAL/lib/RT/SearchBuilder.pm (original)
+++ rt/branches/CHALDEA-EXPERIMENTAL/lib/RT/SearchBuilder.pm Sun Jul 3 18:07:35 2005
@@ -226,7 +226,7 @@
=over 4
-=item CUSTOMFIELD - CustomField name or id. If a name is passed, an additional parameter QUEUE may also be passed to distinguish the custom field.
+=item CUSTOMFIELD - CustomField id. Optional
=item OPERATOR - The usual Limit operators
@@ -262,7 +262,7 @@
FIELD => 'CustomField',
OPERATOR => '=',
VALUE => $args{'CUSTOMFIELD'},
- );
+ ) if ($args{'CUSTOMFIELD'});
$self->Limit(
ALIAS => $alias,
FIELD => 'ObjectType',
More information about the Rt-commit
mailing list