[Rt-devel] Overriding RT::Tickets built-in limit of main.EffectiveID == main.id

Ruslan Zakirov ruslan.zakirov at gmail.com
Thu Jul 9 18:12:43 EDT 2009


I think the following should do the trick:

$tickets->{'looking_at_effective_id'} = 1;

You have to do this before any call that can fetch records from the DB.

On Wed, Jun 17, 2009 at 7:10 PM, Fran Fabrizio<fran at cis.uab.edu> wrote:
>
> [Pardon me if this is the wrong place for this - I asked on rt-users a
> few days ago but had no response]
>
> Is there any way to override the RT::Tickets SearchBuilder's default
> Limit of main.EffectiveID = main.id?  I'm writing a SearchBuilder
> script where I would benefit from being able to directly retrieve
> tickets that have been merged into other tickets.  I've been perusing
> the perldoc for RT::Tickets_Overlay but wasn't sure if any of those
> methods would do the trick.
>
> Thanks,
> Fran
>
> ----------------------------------------------------
> Fran Fabrizio, Senior Systems Analyst
> UAB CIS - http://www.cis.uab.edu/
> 205.934.0653
>
> _______________________________________________
> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
>



-- 
Best regards, Ruslan.


More information about the Rt-devel mailing list