If you create a new view which has node revisions as base table you get the node row plugin by default, though you can't select something else then fields.

Comments

dawehner’s picture

The correct behaviour is to not select the node row plugin by default.

dawehner’s picture

Issue tags: +Novice

Fixing this sounds like a good task.

The fix would probably have to be in views_ui_node_revision_views_wizard.class

rvilar’s picture

Assigned: Unassigned » rvilar
Status: Active » Needs review
StatusFileSize
new820 bytes

Attached is a patch that solves this

tim.plunkett’s picture

Status: Needs review » Needs work

Hm, I think this is just tweaking the node row plugin, not deselecting it.

tim.plunkett’s picture

+++ b/plugins/views_wizard/views_ui_node_revision_views_wizard.class.phpundefined
@@ -9,6 +9,13 @@
+  ¶

If you replace this trailing whitespace with a docblock, I think this is right after all.

I'll open up a followup for a smarter row_style_options() by default, but this is all that can be done for now.

jim0203’s picture

StatusFileSize
new939 bytes

Re-rolling patch

jim0203’s picture

StatusFileSize
new891 bytes

Re-rolling patch properly, please ignore #6

jim0203’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, views-1321364-7.patch, failed testing.

jim0203’s picture

StatusFileSize
new853 bytes

Third time lucky ...

tim.plunkett’s picture

Status: Needs work » Needs review

Testbot!

tim.plunkett’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new855 bytes

Fixed a minor indentation issue on the docblock. No commit credit for me.

dawehner’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for effort on this patch.

Committed this to 7.x-3.x and 8.x-3.x

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