On Tue, Jun 29, 2010 at 09:29:08AM +0200, Wolfram Huettermann wrote:
> Kevin Falcone wrote:
> >On Mon, Jun 28, 2010 at 12:05:13PM +0200, Wolfram Huettermann wrote:
> >> Hello,
> >>
> >> I have got a user customfield called MyComment and I want to filter all
> >> users where this
> >> customfield is not empty. In my case, it is of freefrom type. The
> >> function LimitToCustomField
> >> does not work properly if I use
> >>
> >> $User->LimiToCostumField("FIELD" => "MyComment",
> >> "OPERATOR" => "!=",
> >> "VALUE" => "");
> >
> >I assume you meant LimitCustomField, and that doesn't take a FIELD
> >argument
> >
> Yes, you are totally right.
>
> But even this code:
>
> $User->LimiToCostumField("CUSTOMFIELD" => "MyComment",
> "OPERATOR" => "!=",
> "VALUE" => "");
> You're still using the wrong method name. There is no method LimitToCustomField on Users objects. -kevin
pgpmK0jDNRRPz.pgp
Description: PGP signature
Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
