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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

generalredneck’s picture

Status: Active » Needs review
FileSize
932 bytes

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

rszrama’s picture

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!

generalredneck’s picture

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

generalredneck’s picture

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

rszrama’s picture

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.