If there are zero search results, or if there is only one page of results, the results text looks a little off, e.g.:

"Shows 1-5 of approximately 0 hits"

"Shows 1-5 of approximately 2 hits"

This will set the end number to be the hits number if there is only one page, and will hide the text entirely if there aren't any results.

CommentFileSizeAuthor
gss-results-formatting.patch1.04 KBkarlshea

Comments

dhavyd’s picture

Thanks! I will look at your patch and I'll give you feedback soon...

dhavyd’s picture

Status: Needs review » Reviewed & tested by the community

The patch is reviewed and applied to the 6.x-1.x branch. Thanks for the patch!

dhavyd’s picture

Status: Reviewed & tested by the community » Closed (fixed)