I am customizing the format of the display results for searches in RT
3.8.3, using the “advanced” facility. I see that UpdateStatus returns
"No" if there are no unseen messages for a given ticket, otherwise it
returns “Yes” as a link anchored to the first unseen message (SeenUpTo,
in the code).
This is neat, but it means that if I want to mark all messages in that
ticket as seen, I then have to go back to the top of the ticket display to
click on the link there, or else I have to instead select the "Subject"
or “ID” (default) URL from the search results, which takes me to the top
of the ticket, then from there, select “jump to the first unread message
and mark all messages as seen”. Either way, a two-step operation.
What I was hoping to accomplish is an entry in the search result format
that would allow me to mark all messages as read AND jump to the first
(until now) unread message at the same time. I tried this:
… but (a) I cannot find a way to refer to the “SeenUpTo” message in
that context (it comes out blank), and (b) when the answer is “Yes”,
my format is ignored and I get the URL without MarkAsSeen.
Am I doing something wrong, or can what I want to do not be done?
Ms. Anne Bennett, Senior Sysadmin, ENCS, Concordia University, Montreal H3G 1M8
email@example.com +1 514 848-2424 x2285