[Rt-commit] r3170 - in rt/branches/3.4-RELEASE: . lib/RT
jesse at bestpractical.com
jesse at bestpractical.com
Wed Jun 15 15:58:48 EDT 2005
Author: jesse
Date: Wed Jun 15 15:58:48 2005
New Revision: 3170
Modified:
rt/branches/3.4-RELEASE/ (props changed)
rt/branches/3.4-RELEASE/lib/RT/SearchBuilder.pm
Log:
r20542 at hualien: jesse | 2005-06-15 15:56:43 -0400
* Made search-by-any-customfield work
Modified: rt/branches/3.4-RELEASE/lib/RT/SearchBuilder.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/SearchBuilder.pm (original)
+++ rt/branches/3.4-RELEASE/lib/RT/SearchBuilder.pm Wed Jun 15 15:58:48 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