Project

General

Profile

Actions

Bug #36509

closed

GraphQL: Incorrect totalCount when querying with first parameter

Added by Kamil Szubrycht 11 months ago. Updated 8 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 11 months 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 11 months ago

  • Fixed in Releases 3.8.0 added
Actions #3

Updated by Anonymous 11 months ago

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

Updated by Ewoud Kohl van Wijngaarden 8 months ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF