Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Views integration
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2012 at 18:25 UTC
Updated:
27 Feb 2013 at 06:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
cvangysel commentedAttached to this post is a patch that integrates product revisions with views and adds a revisions tab to the admin product view.
Comment #2
rcross commentedlooks ok to me. I would suggest making the default order to be by revision id. otherwise good to go.
Comment #3
brunorios1 commentedlooks ok to me too...
Comment #4
rcross commentedComment #5
rszrama commentedAgreed with Ryan about the default order and also added in a relationship to the user who created the revision. I'm not a huge fan of the administrative permission based access control - but I don't know a better way to inject access control into the View. Maybe we can consider a custom argument handler for our entities in the future if need be to make it based on permissions / product access. This gets the job done for now, though.
Thanks for the reviews.
Commit: http://drupalcode.org/project/commerce.git/commitdiff/fdf33d4