Currently, the hierarchical select allows only a set-style implementation with now sense of reordering.
Given that internally multi-selects are stored as arrays, an ability to reorder selected items would be useful.
In our particular case, we are using Hierarchical Select Node Reference to select an ordered list of items to appear. This is currently not possible.
The requested solution would be to provide drag handles on the selected item list, and always add new selections to the end of the list.
The drag handles should adopt the same behaviour as the rest of drupal standard use, that is, highlight and mark changes in yellow with an asterisk, and save changes when the node is saved.
I guess the "ordering" option should be optional (perhaps a hierarchical field configuration option checkbox).
Thanks,
Andrew
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | hierarchical_select-reorder_dropbox.patch | 11.2 KB | theunraveler |
Comments
Comment #1
kars-t commentedSeems a reasonable request. Moving it to D7 and maybe this will be possible.
Comment #2
AnreeChess commentedThat would be so great!
Comment #3
theunraveler commentedHere's an initial attempt at allowing for reordering items in a hierarchical select dropbox. I'm pretty happy with the code, and it seems to work well in my testing.
Comment #4
jrusse27 commentedThis feature would be very very useful!