Add database param to search result links