Closed (fixed)
Project:
DraggableViews
Version:
2.1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
12 Jul 2018 at 10:40 UTC
Updated:
6 Nov 2024 at 00:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
marcus_w commentedPatch is attached
Comment #3
marcus_w commentedAdded fix for infinite depth
Comment #4
nicxvan commentedComment #5
mandclu commentedComment #6
tonka67 commentedThanks for reopening this. Looks like there's been a reversion in DraggableViews 2.1.4. I'm pulling the following error again:
Warning: Undefined property: Drupal\views\ResultRow::$nid in Drupal\draggableviews\DraggableViews->getIndex() (line 44 of /code/web/modules/contrib/draggableviews/src/DraggableViews.php)
Comment #7
istryker commentedIs this a duplicate of #3158196: Allow any entity in DraggableViews::getIndex(). To me it looks the same, but this one tries to make hierarchery work
Comment #11
istryker commentedI fixed things up a little. I renamed everything 'base view entity id' cause that's what it is. This should support any entity type that can be a view. The only thing that might be a problem is crossing different type of relationships in the view. I am not too worried about this though, as that is probably already broken.