Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use just-time-picker on filter field #1

Open
Jumboweb opened this issue Aug 28, 2013 · 0 comments
Open

Use just-time-picker on filter field #1

Jumboweb opened this issue Aug 28, 2013 · 0 comments

Comments

@Jumboweb
Copy link

Hi, thanks for this cool gem,

we have an issue when using just-time-picker input type with activeadmin filters, actually we are filtering on a has_many :through table attributes.

We have a Shop on one side, some Days on the other side, and in the OpeningTimespans association we are saving the opening frame in two time inputs (lets say 10:00 AM to 09:PM).

I want to filter on these start and end times. So I added a

filter :opening_timespans_start_at, :as => :just_time_picker

in my ActiveAdmin Shop file, and bang :

undefined method `opening_timespans_start_at_hour' for #MetaSearch::Searches::Shop:0x00000005994df0

Do you think it is more a Activeadmin, Formtastic or just-time-picker issue ?

Thanks for watching.

Rgds, Alex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants