Search Results truncation of description

Permalink
Hi,

I'm trying to find where to find the code that handles truncating the content of a page when displayed in the search results. I'm using the "Tags" block in the sidebar of my site to display a "Tag Cloud" for all of the blog entries. Clicking on one of the tags takes you to the search page, with the blog entries that have that tag displayed in the listing.

The problem I'm having is that the description is getting truncated mid-word... and isn't showing an ellipsis (the "..." at the end). I'd like to change the code so that the search results trim down to a set number of WORDS (not characters) so that words aren't cut off... AND get the "..." added to the end.

I've looked in the "Search" block (/concrete/blocks/search) "view.php" and "controller.php" files. And I've seen code in the /concrete/helpers/text.php that there is a function called "shortenTextWord"... but using that in the "view.php" file doesn't seem to change anything.

Anyone have any thoughts? Or ever encountered this before?

Thanks!

- John

arrestingdevelopment