Closed (fixed)
Project:
Weight
Version:
7.x-2.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2012 at 15:17 UTC
Updated:
27 Feb 2012 at 18:51 UTC
I have created a view for drag and drop ordering, but it doesn't save the weight to the node, just goes back to all being 0.
I have also tried changing the weight from within the node but I get this error
Notice: Undefined index: weight in locale_field_node_form_submit() (line 404
so might be related
Comments
Comment #1
ludo.rI have the same issue. Submitting the new order within a view doesn't save anything in field_data_weight.
Besides, when I edit the node, I get this error :
But the weight is saved into the field_data_weight table.
Comment #2
davisbenA fix for this issue has been committed to 7.x-2.x.
Comment #3
skolesnyk commentedThanks, Feb-03 update fixes this issue!
Comment #5
futurist commentedHow can a "view for drag and drop ordering", like stated by the OP be created using the Weight module? (This sounds like a feature from the DraggableViews module.) So far the only places I know of for setting weight was on the node edit form and admin/content page. Thanks for clarifying.
Comment #6
davisbenA default view is included with the module, disabled by default. You can enable and customize that view to get the drag and drop.