We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1029176 + 6b734ca commit 02d693aCopy full SHA for 02d693a
lib/jsonapi/utils/response/formatters.rb
@@ -62,8 +62,8 @@ def result_options(records, options)
62
63
def build_collection(records, options = {})
64
records = apply_filter(records, options)
65
- records = apply_pagination(records, options)
66
records = apply_sort(records)
+ records = apply_pagination(records, options)
67
records.respond_to?(:to_ary) ? records.map { |record| turn_into_resource(record, options) } : []
68
end
69
0 commit comments