简体   繁体   中英

How customze filter in rails active admin?

I want to filter report weekly ,monthly and yearly? I want to add 3 filter one is weekly second one is monthly and 3rd is yearly and option for select year for which i am filtering data. 在此处输入图片说明

visit below link this is perfect example for create custom filters

http://nikhgupta.com/code/activeadmin/custom-filters-using-ransacker-in-activeadmin-interfaces/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM