Available in views are 2 fields: Ubercart Role expiration role AND Ubercart Role expiration date
However these do not work as expected.
Only 1 role is displayed and only 1 expiration date is displayed for each user.

This is useless. It is not helpful until it displays the full array of roles and dates for a user.
Using aggregation will give even stranger results, showing all uc roles available and no dates.
Am I missing something here. Is there a way to get this to display all roles/dates for a user?


garyg created an issue. See original summary.

TR’s picture

Component: Code » Roles
Category: Bug report » Feature request
Status: Active » Postponed (maintainer needs more info)
Issue tags: -uc_roles

The development of those views fields is discussed in #419700: How to include role expiration date into a view?. There is a long list of people contributing to that thread who found the solution met their needs. Accordingly, I'm re-categorizing your post as a feature request to add additional capability.

However, you haven't given a lot of details - what type of view are you creating? A User view, an Order view, a Role view? Etc. The most helpful thing would be to create, export, and post here a small, minimal view which demonstrates the shortcoming then give an example (again, an exported view) of how it should work - use a different field that works how you want it to work.

For extra credit, modify the Ubercart role fields and post a patch here.

TR’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Without further information I don't know what you expect. Feel free to reopen this when you can provide the information asked for in #2.