[DS-1779] Pagination link error in JSPUI discovery search

As per trunk change