hectorr
committed
on 10 Jul 19
Make 'attachments::get_all_attachments' more general, so we try our best to get the 'label' of the attachment by trying different options de… Show more
Make 'attachments::get_all_attachments' more general, so we try our best to get the 'label' of the attachment by trying different options depending on the object type: 'content_item', 'content_revision', a subtype of those, or just the 'title' row in the 'acs_objects' table. In the very worst case, just set the given 'item_id' as the label.

Show less