views_bulk_operations_execute does not work well in combination with facetapi and search_api_solr, when the batch mode is used.

Problem:
facetapi alters directly the query of the view, but in batch mode, only the args property of the view is being passed to the batch operation

Solution:
Offer the possibility to pass the whole view object to the batch operation

Patch follows shortly.

Comments

aurelianzaha created an issue. See original summary.

aurelianzaha’s picture

Patch attached.

aurelianzaha’s picture

Status: Active » Needs review
klausi’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me! This approach should not cause any API break because this is hidden behind a new option.

joelpittet’s picture

Status: Reviewed & tested by the community » Fixed

Thanks to you both, it's committed to the dev branch for the next release

Status: Fixed » Closed (fixed)

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