So I'm trying to add support for revisions for embedded views. I'm using a combination of Views, Field Collection, Field Collection Views and the Workbench Moderation module, but I think this would apply to anything that uses the Field Collection revision feature in the dev branch.

Here's the issue I ran into:

  1. create a Content Revision view
  2. Add Content revision: Vid as a contextual filter
  3. Add field: Content (historical data): [field_collection_field]

Outputting the raw data of this field as [field_featured_items-revision_id-value] ([field_featured_items-revision_id-revision_id])I can see that all the raw data needed is there (eg: field_ids and revision_ids.)

However, the revision_id is not currently passed to the embedded view which causes the wrong content to be rendered. I was able to find how to pass the revision_ids to the field_collection_views_field_formatter_view function.

This is when I ran into my primary problem. :)
The revisions are not stored in the field_collection_item table, but rather in the field_collection_item_revision table. Does anyone have any advice on the best way to change the view to this table? Should it be an additional contextual filter provided?

Any advice would be great.