Could uc_roles_products.duration and granularity be added to Views? I need to sort products by duration.

The ideal would be to also have a field with duration and granularity multiplied out to days. If there was a field roles.days, I could sort lists based on the duration/granularity combination without having to calculate out the relative value of 6 month versus 120 day.

I did not find code or issues relating the Roles module to Views. If there was at least one field in place, I could work on adding the other fields.

Comments

longwave’s picture

There isn't any Views code in the roles module, but there are Views fields in other modules such as uc_product that you could use as an example.

TR’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)