Solved

Issue in graphql pagination parameters

  • 4 February 2022
  • 2 replies
  • 147 views

Userlevel 1

Hello everyone

I have a query to filter set of cards using CardSearch as example:

 

above, has the query and the search result, the pagination parameters returned inform that I have more pages to be seen

 

when I update the query to bring up the next page, I get the following return

 

the curious thing is that there are card titles where pagination works normally, for example:

for cards with title = "Almir Mario Bitto" the pagination does not work.

for cards with title = "Filipe Gomes de Lima" pagination works normally

 

 

 

 

Are there any details to be adjusted in the query?

I appreciate any help

icon

Best answer by Roberto Chavarria 9 February 2022, 19:14

View original

2 replies

Userlevel 5
Badge +5

Hi @lucass-web , hope you’re well! I’ll send you a DM regarding this thread. 

Userlevel 2

@Roberto Chavarria @lucass-web Hi folks, I am running into the same problem. Would you be able to share the solution here? In my case I am filtering by a label_id. Many thanks! Alex

 

{
  cards(pipe_id: 302269213, first: 2, search: {label_ids: 306696539}, after:"MA" ) {
    
    pageInfo {
      endCursor
      hasNextPage 
    }
    edges {
      node {
        id
        title
        labels {
          id
          name
        }
        age
        current_phase_age
        current_phase {
          id
        }
        url
        updated_at
        current_phase {
          id
          name
        }
#        fields {
#          name
#          value
#          report_value
#        }
      }
    }
  }
}

Reply