Skip to content

About

Active Admin sorting and filtering for tables consisting json keys as columns.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • ruby 2.2.2

  • rails 4.2.5

  • Replace username and password in config/database.yml with your local database credentials. It uses postgres.

“‘ruby bundle exec rake db:create db:migrate db:seed –trace “`

  • Admin credentials are present in the seeds.rb

Clone active admin and refer it in Gemfile. you can find syntax in Gemfile.

  • Sorting

refer Rails.root/config/initializers/order_clause.rb

  • Filtering

remove ransacker? from lib/active_admin/filters/formtastic_addons.rb#seems_searchable? from local active_admin repo.

for more info refer [Stackoverflow](stackoverflow.com/questions/36546815/custom-filter-on-custom-column-in-activeadmin) and [ActiveAdmin](github.com/activeadmin/activeadmin/issues/4399)

About

Active Admin sorting and filtering for tables consisting json keys as columns.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages