diff --git a/app/graphql/connections/cursor_connection.rb b/app/graphql/connections/cursor_connection.rb index 2d4a24283..f71a11bf3 100644 --- a/app/graphql/connections/cursor_connection.rb +++ b/app/graphql/connections/cursor_connection.rb @@ -106,11 +106,9 @@ module Connections def compute_page_info(limit:, before: nil, after: nil, first: nil, last: nil) if @deprecated_order == :desc if last.present? - first = [last, max_page_size].min last = nil else last = [first || default_page_size].min - first = nil end end