app/models/landable/search_engine.rb in landable-1.7.1.rc1 vs app/models/landable/search_engine.rb in landable-1.8.0
- old
+ new
@@ -12,10 +12,10 @@
def results
@scope
end
def meta
- { search: { total_results: @scope.count } }
+ { search: { total_results: @scope.count(:all) } }
end
def filter_by!(filters)
raise NotImplementedError
end