Project

General

Profile

Actions

Bug #36509

closed

GraphQL: Incorrect totalCount when querying with first parameter

Added by Kamil Szubrycht about 1 year ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

The totalCount value becomes incorrect when first parameter is included in the query.

query {
  hosts {
    totalCount
  }
}

totalCount = 84

query {
  hosts(first: 10) {
    totalCount
  }
}

totalCount = 10

Actions #1

Updated by The Foreman Bot about 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/9737 added
Actions #2

Updated by The Foreman Bot about 1 year ago

  • Fixed in Releases 3.8.0 added
Actions #3

Updated by Anonymous about 1 year ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Ewoud Kohl van Wijngaarden 10 months ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF