Active
Project:
DraggableViews
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2011 at 09:23 UTC
Updated:
29 Jun 2012 at 09:54 UTC
Jump to comment: Most recent
If I create a draggable view, and then export it. When I import the same view the draggable functionality no longer works.
The database tables are still getting updated, but the view is not being sorted into that order.
If I remove and then re add the sort field: Content: Draggable views weight it all starts working again.
As I prefer to store my views in code so they can be easily moved between sites, does anyone know a way to fix this behaviour so that the Content: Draggable views weight field exports and imports correctly.
Comments
Comment #1
ygerasimov commentedOh! That is brilliant idea! I think we should take a look at http://www.bariswanschers.com/blog/exporting-your-module-configuration-u... for building this functionality.
Moving this issue to feature request as it is not a bug.
Comment #2
Anonymous (not verified) commentedThis seems more like a bug than a feature request. It breaks compatibility with the features module, which means draggable views can't be used in features without explicitly modifying views after enabling the feature. It's a rather severe drawback to using this functionality over nodequeues.
Comment #3
bengt commentedThe same thing seems to happen when you clone a view. The sorting start to work when you delete the sort field: Content: Draggable views weight and then add it again. Thanks medden for pointing this out!