Fix ticket detail link on ajax page