My view contains both draggable views sorting and vbo operations. It works great except the "Modify values" action witch does not provide "Next" button on the values modification step form.

When I remove draggable views sorting from the view the button is displayed correctly so it seems the DraggableViews is overwriting $form['actions'] or $form['actions']['submit'] of that step.

I know this might be and issue for VBO so please feel free to move it but I'm using version 3.1 of VBO and this was working fine before I've updated DraggableViews at some point two weeks ago.

Comments

cjtriplett’s picture

I have the same issue.

philipz’s picture

Status: Active » Fixed

Problem seems to be gone now in combined dev versions of both modules.

philipz’s picture

Status: Fixed » Needs review
StatusFileSize
new728 bytes

Well it was not fixed after all. I've found and fixed the condition responsible for hiding submit button. I don't know if this is a proper way to do this but works fine for me. Might be to VBO oriented though.

istryker’s picture

IMO, this is not the way to do it. I do not like injecting other modules field checks into draggableviews hooks. That being said, VBO is now in D8 core so I might be willing to commit this

philipz’s picture

I understand that mixing other modules field checks is not a clean solution but it's not any dependency in this case. I don't know if there's any other way to check if the button should stay if we come from bulk views operations or not.

Including this patch that would be very helpful as both modules used combined are super powerfull. Do you know when will you commit this?

istryker’s picture

Issue summary: View changes
Status: Needs review » Closed (duplicate)

There is another issue, that has an issue with VBO. It fixes the form_alter hook better. Still a special case for VBO.

Fixed in Patch #12 of #2013839: Work with Views Bulk Operations

Marking as duplicate.