Hierarchy feature is enabled by default in Drupal 8. If you create a basic view, there is no way to disable it.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 2846336-9-support-hierarchy.patch | 2.71 KB | temkin |
| #7 | draggableviews_disable_hierarchy_option-2846336-7.patch | 2.48 KB | istryker |
| #3 | Screenshot at 15-20-40.png | 26.44 KB | mkdok |
Issue fork draggableviews-2846336
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 2846336-disable-hierarchy--2.1.x
compare
- 2846336-disable-hierarchy
compare
Comments
Comment #2
zessx commentedComment #3
mkdok commentedHello,
I've already written patch that allows to disable hierarchy. You can do that in "Draggable field" settings.
Thanks.
Comment #4
mkdok commentedPatch with spacing fixes.
Comment #5
tandroid commented#4 works as expected. Thanks mkdok!
Comment #6
phily#4 works with Drupal 8.3.1 and DraggableViews 8.x-1.0
Thanks
Comment #7
istryker commentedYou patch works great, however I think more discussion is need around this topic.
I think hierarchy should be disable by default. If you enable hierarchy it should work. Currently, hierarchy in 8.x does not work, so I think we should disable it by default and hide the checkbox for now. Later we can change the hidden form item to a checkbox.
Comment #8
istryker commentedPatch #7 needs to be re-rolled. Currently hierarchy dragging works in 8.x-1.0 but not 8.x-1.x. One of the patches broke it. I tried re-roll, but I could not see the hierarchy enable checkbox.....something is wrong.
Comment #9
temkin commentedHere is a re-roll against the 2.x branch. After this patch and one more that's coming separately to support Paragraphs, enabling and disabling hierarchies and the hierarchy functionality itself worked fine.
Comment #11
olmyr commentedComment #12
olmyr commentedHello,
Comment #14
olmyr commentedComment #15
olmyr commentedHello,
The issue could be closed