In my current usecase, I need a way to show what user created a specific payment transaction. There is a uid associated with that user, however, there is no view's handler for that field or a relationship to allow you to display that user in a view. I propose a change to allow this ability. so I can do something like in the following screenshot.

Files: 
CommentFileSizeAuthor
#4 commerce-add_views_relationship_for_payment_transaction_uid-1678396-4.patch1.95 KBgeneralredneck
#1 commerce-add_views_relationship_for_payment_transaction_uid-1678396-1.patch932 bytesgeneralredneck
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch commerce-add_views_relationship_for_payment_transaction_uid-1678396-1.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

Comments

Status:Active» Needs review
StatusFileSize
new932 bytes
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch commerce-add_views_relationship_for_payment_transaction_uid-1678396-1.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

I've worked up a patch. Review and let me know.

Assigned:generalredneck» Unassigned
Status:Needs review» Fixed

This is missing other information that we might use to display and sort based on the transaction's uid directly. I committed the attached patch that was a copy / paste and tweak from the order table's uid field. Not sure why this wasn't done before. : P

Welcome to the committers log!

Yay! That's awesome! Looking forward to yall's Drupal 8 webinar tomorrow!

For sake of consistency...
The last patch failed because of no EOL character in it.

This one should work since it was generated by drupal's git :D

No worries - I guess I should've posted the full patch up here. I usually remember to link to the actual commit but forgot this'n. : P

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.