Allow any entity in DraggableViews::getIndex()

Created on 10 July 2020, over 4 years ago
Updated 28 August 2024, 4 months ago

Problem/Motivation

The DraggableViews::getIndex() function is limited to nodes and media items by the hardcoded id names. This is a problem for other entities such as Commerce Products.

Proposed resolution

Use the generic entity id() function instead.

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States daniel korte Brooklyn, NY

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024