24cb70edca
Resolves "Cannot set properties of undefined (setting '_DT_CellIndex')" error by modernizing DataTables API usage and handling Turbolinks properly. Changes: - Update to modern DataTables API (capital D DataTable() vs lowercase) - Add check for existing DataTable before initialization - Properly destroy and recreate DataTable on Turbolinks page loads - Replace deprecated fnClearTable() with table.clear() - Replace deprecated fnAddData() with table.row.add() + table.draw() - Create unified initializePage() function for both ready and turbolinks:load - Add autoWidth, searching, and ordering options to DataTable config The DataTable now initializes cleanly without errors and handles Turbolinks navigation properly. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>