Added pagination for tickets and ticket searches