Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/supplejack/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ module Config
facets
facets_per_page
facets_sort
facet_missing
fields
label_tag
label_class
Expand Down
1 change: 1 addition & 0 deletions lib/supplejack/url_formats/item_hash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def to_api_hash
hash[:facets] = params[:facets] if params[:facets].present?
hash[:facet_pivots] = params[:facet_pivots] if params[:facet_pivots].present?
hash[:facets_per_page] = params[:facets_per_page].to_i if params[:facets_per_page].present?
hash[:facet_missing] = params[:facet_missing] if params[:facet_missing].present?
hash[:fields] = params[:fields] || Supplejack.fields.join(',')
hash[:query_fields] = query_fields if query_fields
hash[:solr_query] = params[:solr_query] if params[:solr_query].present?
Expand Down
Loading