RSS Feed - listing newest instead of oldest?

When using the RSS feed option to view a queue, is it possible to configure the results such that the entry listed under each ticket is the most recent entry rather than the first entry in the ticket?

Thanks!
Joseph Spenner

If life gives you lemons, keep them-- because hey… free lemons.

When using the RSS feed option to view a queue, is it possible to configure the results such
that the entry listed under each ticket is the most recent entry rather than the first entry
in the ticket?

You’ll need to make a local overlay of Search/Elements/ResultsRSSView
and change the line that returns the content of the create
transaction.

-kevin

When using the RSS feed option to view a queue, is it possible to configure the results such
that the entry listed under each ticket is the most recent entry rather than the first entry
in the ticket?

You’ll need to make a local overlay of Search/Elements/ResultsRSSView
and change the line that returns the content of the create
transaction.

-kevin

Ok, I was afraid of that. :slight_smile:
Not being a developer, I’m not sure what to do. I found the file you mentioned:

/opt/rt3/share/html/Search/Elements/ResultsRSSView

Is this the line to edit?
description => $Ticket->Transactions->First->Content,

and change to something intuitive, such as:
description => $Ticket->Transactions->Last->Content,

?

Kevin Falcone <falcone bestpractical.com> writes:

When using the RSS feed option to view a queue, is it possible to
configure the results such

that the entry listed under each ticket is the most recent entry rather
than the first entry

in the ticket?

You’ll need to make a local overlay of Search/Elements/ResultsRSSView
and change the line that returns the content of the create
transaction.

-kevin

Kevin:
Is there any documentation explaining how to do this? I took a few
stabs/guesses at it, but all I did was prevent RT/apache from restarting.

I’m surprised more people aren’t interested in this as the default behavior,
since it seems to me it would make more sense to look at what is “new” rather
than what was originally posted in a message.

Thanks!

Kevin Falcone <falcone bestpractical.com> writes:

When using the RSS feed option to view a queue, is it possible to
configure the results such

that the entry listed under each ticket is the most recent entry rather
than the first entry

in the ticket?

You’ll need to make a local overlay of Search/Elements/ResultsRSSView
and change the line that returns the content of the create
transaction.

Is there any documentation explaining how to do this? I took a few
stabs/guesses at it, but all I did was prevent RT/apache from restarting.

The customizing RT wiki page is probably your best bet:


Your example earlier of switching from First to Last is unlikely to be
right, since your Last transaction could be an owner change or a
Priority change, not necessarily a comment/correspondence.

I’m surprised more people aren’t interested in this as the default behavior,
since it seems to me it would make more sense to look at what is “new” rather
than what was originally posted in a message.

I think there may be a ticket open about it, but it’s not been a high
priority. If a patch came in, it’s certainly something we’d look at.
It’s also something that would be really easy to change as an
extension which we could use to see what people want out of that feed.

I’d also be interested in patches to make the calendar feeds more
flexible.

-kevin