The filter "Content: Revision moderation" which is available when creating a view (and is used in the default view generated by the module) appears to work only when the filter is set to exposed. If the filter is not exposed then the view will show revisions of every content type that is *not* under moderation, no matter what the filter settings.

Comments

rdeboer’s picture

Assigned: Unassigned » rdeboer

Hi Aaron,
I acknowledge there is an issue with ONE "Content: Revision moderation" filter option, when the filter is hidden. When I set it to "Moderated" (only) I get this error:

Notice: Undefined offset: 0 in revisioning_handler_filter_node_revision_moderation->query()
(line 33 of .../sites/all/modules/revisioning/views/revisioning_handler_filter_node_revision_moderation.inc).

And the content shown is in fact Not Moderated.

However, on my system I am able to get All content, as well as Not Moderated content with the filter hidden to the user.

rdeboer’s picture

Title: Revision moderation filter in views has a problem » Revision Moderation filter when hidden produces Notice and shows Non-moderated content when Moderated selected

Fixed. A single character!

Checked into the Git repository, master branch.
Those not sure how to use Git, will have to wait until I release 7.x-1.1.

Rik

rdeboer’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.