-
-
Notifications
You must be signed in to change notification settings - Fork 812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CRM-21538: Field not found when sorting report by Case Type as a section header #11419
Conversation
Can one of the admins verify this patch? |
@civicrm-builder add to whitelist |
@octo-happiness congrats on your first PR to CiviCRM 🥇 |
ff25a8f
to
17916a2
Compare
Sorry for the spaces, I've missed the difference. Fixed now. |
I'm not able to reproduce the bug on my local setup. What version of CiviCRM are you using? What columns do you have enabled in the report? What extensions are you using? |
@octo-happiness thanks again for a clean well documented PR. May you have a long and happy career contributing to CiviCRM 🎉 |
CRM-21538: Field not found when sorting report by Case Type as a section header
Overview
Attempting to create a Case Detail report sorted by the field Case Type with the option "Section Header" checked does not work.
Before
Creating a case detail report with this sorting configuration:
causes application to crash. The error is:
Unknown column 'case_civireport.case_type_name' in 'field list'
After
With this small change report generates as expected.
Comments
It appears that this field (added in CRM-20368 PR) requires special handling.