You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add Datatables gem, yarn package and CSS file
- Add code in packs.admin.js
- Add Datatables partial and inheritable logic (mountain_view seems unhappy with ajax in webpacker)
- Update controller logic and do some optimisation
- Migrate Users, Neighbourhoods and Partners indexes to Datatables
- Update Neighbourhood edit page to reflect new logic
- Update webpack-dev-server, yarn versions, and CI build target
- Update README
Bonus: Fixes#806, #868, #861, #821
Co-authored-by: Dr Kim Foale <[email protected]>
Is your feature request related to a problem? Please describe.
Consider: https://aarvy.me/blog/2019/09/21/datatables-with-bootstrap-4-minimal-setup-in-rails-6/
Describe the solution you'd like
Steps
/app/components/admin_index/_admin_index.html.erb
respond_to
or it won't workFurther work to be done
app/datatables/neightbourhood_datatable.rb
return sql for Neightbourhoods scoped by permission - right now onlyNeighbourhoods.all
worksThe text was updated successfully, but these errors were encountered: