Fix participant CSV export: export all records, add filters, apply role scope
- Switch streamCsv from chunk() to cursor() to fix truncated export
- Mirror Livewire query in ExportController (search by membership_id/national_id)
- Apply PermissionService::applyScope() to export query
- Fix branch scoping fallback to match UsesBranchScope trait
- Add membership_type and is_free filters to list and export
- Pass sort params to export so CSV respects current sort order
- Whitelist sort columns to prevent SQL injection
- Output enum values and is_free column in CSV
Co-Authored-By:
Claude Opus 4.6 <noreply@anthropic.com>
Showing
Please register or sign in to comment