Closed (fixed)
Project:
Views Bulk Operations (VBO)
Version:
6.x-1.x-dev
Component:
Core
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
19 Sep 2007 at 17:53 UTC
Updated:
14 Apr 2010 at 18:09 UTC
To reproduce this:
1) create a bulk operation view with sortable fields (such as title or node.created)
2) notice that when using the view, the sort functionality does not work
3) clone this view and change cloned view from bulk operations to table view.
4) sortable fields work again
Comments
Comment #1
harry slaughterArgh!! It turns out that the view itself had gotten 'into a state'. Views will often cache things unexpectedly and provide unexpected results. This seems to have been the case here.
Changing the view from a 'bulk operations view' do a different type of view, saving it, then changing it back, it 'unwedged' the view and it worked again.
Beware of altering any code or data that a view depends on. Very often, unexpected results occur and the best solution is to rebuild the view.
Comment #2
harry slaughterRe-opening this as I'm seeing the problem again and editing/re-saving the view does not fix it.
The problem is likely not in the views patch but in Views Bulk Operations. If you install "views_checkout.tgz" (see http://drupal.org/node/103171#comment-301899), you will see that you can create a 'node select' view where sortable fields will work. If you alter that view and make it a 'views bulk operations' view instead, you will likely see broken sortable fields.
Comment #3
harry slaughterfixed
Comment #4
(not verified) commentedComment #5
nedjoI had this issue with a views bulk operations view. Following the steps in #1 fixed it.
Comment #6
jrabeemer commentedARGHHH I'm having this problem too with 1.9. Although, I'm unable to recreate #1's solution.
Update:
I was attempting to sort by date default. It would seem that you have to remove all *date* sorts from Sort Criteria. Then check off the default sort radio, then set asc/desc from within the Bulk Operations settings.