Skip to content

Conversation

@Janell-Huyck
Copy link
Contributor

@Janell-Huyck Janell-Huyck commented Aug 12, 2025

DTS is great.

Janell-Huyck and others added 10 commits August 11, 2025 13:49
Bulkrax 9.1 routes entry_table as /exporters/:exporter_id/entry_table, but the
controller loaded @Exporter from params[:id]. That left @Exporter nil for the JSON
request, causing a 500 and the DataTables “Ajax error”.

- Add reloader-safe controller decorator to set @Exporter from params[:exporter_id] || params[:id]
- Require the decorator via an initializer so it’s applied in dev/test/prod
- Keep gem’s _entries_tab and the gem-aligned exporters#show (no custom AJAX URLs)

Result: /exporters/:id/entry_table.json responds and the table renders.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants