Truncated Header View Title

In the SearchController when the listing route is called I truncate the header view pageTitle by splitting the string (by commas) and then referencing the first two strings in the array.