fix bug 834384: Include demo search terms in pagination links when needed
Merge pull request #851 from lmorchard/834384-search-terms-in-pagination

fix bug 834384: Include demo search terms in pagination links when needed