VBO breaks if views returns empty results with default values for exposed filters

NickSI - June 10, 2009 - 11:02
Project:Views Bulk Operations (VBO)
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:kratib
Status:closed
Description

My view uses exposed filters and with default values returns empty result. When I choose some nodes (after changing filtering citeria to some) and select VBO it will do nothing and simply jump to initial view page(with default filters).

I think VBO form (on VIEWS_BULK_OPS_STEP_VIEW step) does not pass current filter values to the view. As a result view applies defaults filters and stops at empty result without invoking VBO style plugin. Unfortunately I have no ideas how to fix this :-(.

#1

kratib - June 10, 2009 - 14:43
Assigned to:Anonymous» kratib

Great find! I'll work on it.

#2

kratib - June 10, 2009 - 16:25

I'm afraid this is a design flaw with VBO. I will need some time to think about it fully.

#3

Alpha5 - July 24, 2009 - 00:48

subscribe +1

#4

kratib - July 25, 2009 - 03:53
Version:6.x-1.7» 6.x-1.x-dev
Status:active» fixed

Fixed in latest dev. Please try it (12 hours from now) and let me know.

#5

Alpha5 - July 26, 2009 - 14:27

Thank kratib, very much. It resolved this bug.
But still have a issue, after do a action, when redirect to page, the date filter still at default value, not at the date selected.
Any way, thank you!

#6

kratib - July 26, 2009 - 16:29

@Alpha5: the filters are back to default value by design. I think there's a setting in each filter to let them remember their last value.

#7

System Message - August 9, 2009 - 16:30
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.