Problem/Motivation
There is no way to add "Registration Type" field to a view or to filter by it
Steps to reproduce
Create a view of Event Series and try to add this as a field or filter. You cannot.
Proposed resolution
Provide the necessary widget to use this field in views.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | After Patch.png | 126.07 KB | sandeep_k |
| #6 | Before Patch.png | 102.66 KB | sandeep_k |
| #2 | 3419642-addRegistrationTypeToViews-2.patch | 3.79 KB | chrisla |
Comments
Comment #2
chrisla commentedthis patch will add the field
Comment #3
chrisla commentedComment #4
sandeep_k commentedHi @endless_wander, Can you please add more details here, Need steps to reproduce/test this.
Comment #5
chrisla commented@sandeep_k I'm not sure how else to list the steps:
1. Make a view of Event Series
2. Click to add fields to the view
3. Search for "Registration Type" as a field to add. It does not exist in the list of available fields
Comment #6
sandeep_k commented@endless_wander, Thanks for the details, I was missing one step. I've tested Patch- 3419642-addRegistrationTypeToViews-2.patch on Drupal version- 10.2.2-dev. The patch was applied successfully and looks good to me.
Testing Steps:
Testing Results:
After applying the patch, the "Registration Type" field is available now, Attached after result. RTBC++
Comment #7
owenbush commentedThis looks good to me, thanks for the patch and the RTBC.
Comment #9
owenbush commentedThis has been merged into 2.0.x and will be part of the next release.