Provide reverse-lookup on views for Licenses -> Subscriptions

Created on 4 October 2023, 12 months ago

Problem/Motivation

There's a view at /admin/commerce/licenses that shows a list of licenses. I would like to provide a link from a license back to the subscription attached to it, if any. Right now there's no reverse-lookup from license to subscription, the way there would be if the license field were a traditional entity reference.

Proposed resolution

Add a relationship to the views data array that links the license to its subscription, if found

Remaining tasks

Review submitted patch.

User interface changes

None

API changes

None

Data model changes

None

✨ Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mariacha1

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

Comments & Activities

Production build 0.71.5 2024