pagination for search results - backward compatibility