Use 'secondary_table' in document-issue relationship.
Update frontend to use new document-issue relationship.
Updates from Greg's comments.