adding handling for attachments and the inherit post_status
Merge pull request #86 from voceconnect/i78_attachment_queries

adding handling for attachments and the inherit post_status