#4 Ticket listing page wrong ticket

Fixed the issue of ticket not loading correctly. The query was wrong.
Also added the updated time when a ticket is saved.