[rt-users] Modification: Showing tickets in queues you watch on the front page

Ruslan Zakirov ruslan.zakirov at gmail.com
Mon Oct 3 21:20:11 EDT 2005


On 10/1/05, Andy Moran <andy at wildbrain.com> wrote:
>
> Hi guys,
>
> I'm setting up an Rt3 instance.  I'd like to change the front page for
> privileged users so instead of showing "X newest onowned tickets", it
> only shows "X newest unowned tickets in the queues I watch.."
RT 3.0.0 or 3.4.4? Or may be 3.2.2-rcX?

>
> I know I need to copy share/html/Elements/MyRequests to
> local/html/Elements/MyRequests and modify it somehow to only show queues
> that the person logged in is a watcher on.   But I don't wanna learn the
> entire RT API to just change this one bit.. If anyone could tell me the
> code I need, I'd be grateful.. thanks!
Construct query you want in RT's query builder, then go to advanced
page and see how it looks like. If you open MyRequests file you will
find that RT is building very similar query for that page. You have to
join to the query string RT builds your particular conditions.

--
Best regards, Ruslan.



More information about the rt-users mailing list