PDA

View Full Version : Showing attachments visually


g00fy
06-24-2008, 01:28 PM
Hereby attached a patch against subversion #639 which implements the paperclip we know and love from google mail ;-).

Watch out if you use this: this is just a proof of concept, so it's a very dirty patch. It works, but use at your own risk....

Greetings,
Steven

jstanden
06-24-2008, 08:37 PM
Nice! :)

I've been meaning to make joins like that more efficient (LEFT JOINS are evil) by storing things like "num_comments, num_notes, num_attachments, num_tasks" in the ticket table. This would reduce some extra query overhead when putting totals on the Display Ticket tabs (like "Tasks (2)") as well.