Closed (fixed)
Project:
DraggableViews
Version:
6.x-3.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Sep 2009 at 05:20 UTC
Updated:
7 Feb 2010 at 11:26 UTC
When using DraggableViews with native handler, native order and 'new items on bottom' option, new items will be appendend on the bottom of list. However it is not in strict order. For instance, Initially the list is:
1
2
3
After sequentially appending 3 new items ( 4, 5 ,6 ) to the list, the list may become:
1
2
3
5
4
6
It means new items will be placed on bottom but not in being added order. Is it possible to list new items in strict order through configuration? Or it must achieved by re-coding?
Thanks~~
Comments
Comment #1
sevi commented1) You can add a second sort criteria where you sort by "Node: Created" if the "Draggable: Order" values equal.
2) Another approach would be using hook_nodeapi and setting the order value manually for every node that gets created.
Solution (1) is probably more attractive because it doesn't require coding.
Comment #2
sevi commentedComment #3
sevi commentedDraggableViews does only affect items when they are being listed in a view!
If DraggableViews (more precisely the view that uses DraggableViews) is not involved it'll not affect anything (different to Nodequeue module). This behaviour must be implemented by other modules.
Comment #4
sevi commented