Added pagination to sunspot