Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Devel

Overriding RT::Tickets built-in limit of main.EffectiveID == main.id

 

 

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded


fran at cis

Jun 17, 2009, 8:10 AM

Post #1 of 2 (613 views)
Permalink
Overriding RT::Tickets built-in limit of main.EffectiveID == main.id

[.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


ruslan.zakirov at gmail

Jul 9, 2009, 3:12 PM

Post #2 of 2 (455 views)
Permalink
Re: Overriding RT::Tickets built-in limit of main.EffectiveID == main.id [In reply to]

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.
_______________________________________________
List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.