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

Searches of custom fields of the type "checkbox list" do not work #461

Open
chrisgherbert opened this issue Sep 16, 2015 · 3 comments
Open
Assignees

Comments

@chrisgherbert
Copy link

Ransack searches for custom fields of the type "checkbox list" don't work. The options are properly populated, but the search doesn't find matching items.

screen shot 2015-09-16 at 7 05 23 pm

screen shot 2015-09-16 at 7 07 19 pm

@stanleylhs stanleylhs self-assigned this Sep 1, 2016
@johnnyshields
Copy link
Contributor

@CloCkWeRX this should be investigated.

@ghost
Copy link

ghost commented Jan 8, 2018

I can confirm this behaviour. Additionally, the information seems to be missing from the left sidebar when viewing a contact - unsure if related.

@CloCkWeRX CloCkWeRX added this to the 0.20.0 milestone Jan 20, 2018
@johnnyshields johnnyshields removed this from the 0.20.0 milestone Jan 20, 2018
@snufiks
Copy link

snufiks commented Jan 29, 2019

The searches does work for me, but when making a the search into a list, accessing the search result via the list does not work. It produces the following error message.

ActiveRecord::SerializationTypeMismatch in ContactsController#index
can't dump cf_test: was supposed to be a Array, but was a String. -- "%red%"

Lists based on searches on custom fiels that are not checkbox lists seem to work fine.

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

No branches or pull requests

5 participants