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

wth - (SPARCDashboard) Saved Filters Bug #164

Merged
merged 1 commit into from Mar 28, 2017

Conversation

wtholt
Copy link

@wtholt wtholt commented Mar 23, 2017

Since the latest production (v2.0.0), the previous saved filters on
SPARCDashboard are no longer working.

This was caused by an error in the search_query scope. It was expecting
a Hash but was saved as a string. I attempted first to serialize the
attribute as a Hash while converting the data-type to Text, but that was
giving me issues. I ended up just using the #eval method to convert to
hash on ProtocolFilter#href. Also wrote a rake task to fix historical
filters and wrote feature spec where a user interacts with saved
searches. [#142261025]

Since the latest production (v2.0.0), the previous saved filters on
SPARCDashboard are no longer working.

This was caused by an error in the search_query scope. It was expecting
a Hash but was saved as a string. I attempted first to serialize the
attribute as a Hash while converting the data-type to Text, but that was
giving me issues. I ended up just using the #eval method to convert to
hash on ProtocolFilter#href. Also wrote a rake task to fix historical
filters and wrote feature spec where a user interacts with saved
searches. [#142261025]
@Stuart-Johnson Stuart-Johnson merged commit 9479ed4 into master Mar 28, 2017
@Stuart-Johnson Stuart-Johnson deleted the wth-saved-filters-bug branch March 28, 2017 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants