DB Error: no such field when printing event participant name badges from a sorted search result
How to reproduce (on dmaster):
- Search for event participants
- Select participants
- Sort by e.g. participant status, fee level, role
- Select action "Print name badges"
CiviCRM crashes with "DB Error: no such field", precisely Unknown column 'participant_status' in 'order clause'
.
This may be related to #729 (closed).