surface attachment_count on ticket rows via a TICKET_SELECT COUNT(*) subquery (Ticket struct + ticketFromRow, one round trip) and emit it per card in GET /admin/api/tickets; add attachments[] array (id/filename/mime_type/size_bytes/url/created_at via ticketAttachmentUrl) + attachment_count to GET /admin/api/tickets/:id detail
$ koh steal kepr.uk/kepr@3bebe3d7ce85
·
parent: 1e199e40aab0
discussion
log in to leave a comment.