I'm using the Views module to displays search result. In the header of the views, I added the
Global: Result summary to show result summary.
"@total Results (@per_page per page)" //Output: 25 Results (20 per page)
But depending on search result count the **Global: Result summary text should change. Meaning I want to dynamically change the text based on the search result count. For example, if total search result count is less than 10(configured Items to display)), then result summary text should be displayed like below.
"@total Results" Output: 5 Results
How can I achieve that that?