H,
Great simple module! I am trying to implement flag weights, flag and draggable views together that allows user to sort rows by draggable. I was thinking some users might be too lazy to drag and just wanted to sort by title, integers etc and will flag weights be able to match the sort after saving?
Not sure whether I should bring this request here or draggable views though..
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | draggableviews.inc_.patch | 1.35 KB | sevi |
Comments
Comment #1
lyricnz commentedSince this functionality would be generic, and not particular to Flag Weights, I am assigning to Draggable Views
Comment #2
sevi commentedHi, good idea :)
the attached patch checks if click sort was used and simply overrides the order-values with numbers in ascending order.
When using click sort now all subordinated nodes will be brought down to the root level as it's impossible to retain hierarchies after a click-sort.
Seems to work :)
greetings,
sevi
Btw: Did you already try mixing different handlers in the same view? You can use 'flag weights'-handler at the root level and e.g. the 'native' handler for the second level and the parent. (use e.g. 'Draggableviews: Value #1' and 'Draggableviews: Value #2' So it's possible to organize your flagged nodes in hierarchies.
Comment #3
dropchew commentedHi
Just tested and it works thanks!
edit: just saw your statement below, I haven try that out yet...
Comment #4
sevi commentedI think that's fixed