Minor Change to front-end

I’ve inherited our instance of RT V4.4.2 (I know, very old, an update is on the way!) and one of the changes I’ve been asked to do, seems very simple but I just don’t know where to look.

Our standard display shows this info…

image

I’ve been asked if the text can say something like

10 highest priority tickets I own (of 36)

10 newest unowned tickets (of 74)

Obviously the numbers will change but essentially they’re asking for the total tickets to appear in the title and I’m stuck!

Please can anyone point me in the right direction

Thanks

Richard

That’s something that RT 5.x has. The changes that do that is in the /Elements/ShowSearch - RT 5.x has extra code that generates a title_raw attribute to the /Widgets/TitleBox containing something like <span class="results-count">(Found 13 tickets)</span>. This appears after the saved search title.

I’m guessing you could make a local copy of the /Elements/ShowSearch Mason component that has the required code from RT 5.x grafted into, but if you’re upgrading to the latest RT anyway you might just want to bite the bullet with that.