The views_bulk_operations_views_list() function iterates through each display by building each display from the original $view object. Unfortunately, Views' build method checks if the $view has already been built and stops if it has. This means that any view that has a VBO field in the master display will return all displays (valid or not), and a view that doesn't have any VBO fields in the master will return none of the following displays.

I altered the code to clone the original $view object and build each display out individually. Patch to follow in next post.

Comments

jbylsma’s picture

Status: Active » Needs review
StatusFileSize
new1.05 KB

Patch attached.

bojanz’s picture

Issue summary: View changes
Status: Needs review » Fixed

Committed, thanks.

Status: Fixed » Closed (fixed)

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