Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

Query facet fq options are hashes. #10

Merged
merged 1 commit into from
Jul 28, 2015
Merged

Query facet fq options are hashes. #10

merged 1 commit into from
Jul 28, 2015

Conversation

rwd
Copy link
Contributor

@rwd rwd commented Jul 28, 2015

No description provided.

salient_fields = facet_field.query.select { |_k, v| v[:fq] == value }
key = ((salient_fields.keys if salient_fields.respond_to? :keys) || salient_fields.first).first
items << FacetItem.new(value: key, hits: hits, label: facet_field.query[key][:label])
FacetItem.new(value: key, hits: hits, label: facet_field.query[key][:label])

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long. [90/80]

rwd added a commit that referenced this pull request Jul 28, 2015
Query facet fq options are hashes.
@rwd rwd merged commit 2c54bfe into master Jul 28, 2015
@rwd rwd deleted the query-facet-hash-fq branch July 28, 2015 09:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants