Problem/Motivation

When executing vbo using drush vbo-exec command, exposed data isn't working. View return all results and operation is performed over all items in the view.
I think it is because function like getTotalResults from ViewsBulkOperationsViewData clear exposed filter if the flag "clear_on_exposed" is false. Also getList from ViewsBulkOperationsBatch also use this flag when pulling list items.

Steps to reproduce

Execute drush
$drush vbo-exec vbo_tags node_publish_action --exposed="nid=534630" -v

Proposed resolution

Turn "clear_on_exposed" to TRUE for avoid exposed filter remotion.
I'm not sure any other side effect of this change, but this worked for me.

Comments

dariogcode created an issue. See original summary.

dariogcode’s picture

graber’s picture

Status: Active » Needs review

  • Graber committed 84442e9 on 8.x-3.x authored by dariogcode
    Issue #3195659 by dariogcode: Drush command vbo-exec --exposed parameter...
graber’s picture

Status: Needs review » Fixed

Thanks!

Status: Fixed » Closed (fixed)

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