Rebuilt the //ticket list function