lib/supernova/criteria.rb in supernova-0.7.1 vs lib/supernova/criteria.rb in supernova-0.7.2
- old
+ new
@@ -93,9 +93,13 @@
end
def facet_fields(*fields)
merge_filters_array :facets, fields
end
+
+ def facet_queries(hash)
+ merge_search_options :facet_queries, hash
+ end
def conditions(filters)
merge_filters :conditions, filters
end
\ No newline at end of file