Search tickets not working after cursor pagination upgrade | Community
Skip to main content

Search tickets not working after cursor pagination upgrade

  • May 10, 2024
  • 2 replies
  • 0 views

Hi, 
I am trying to search a ticket using 
 

this->client->search()->find('requester_id:'.$user_id.' type:ticket subject:'.array_get($param, 'search_key', '')) 
 

which is giving me a response in offset pagination.  Does the cursor-based pagination upgrade support listing of search tickets ? Please guide me on how to get the search results and perform sort and pagination on the search results. Thank you!

2 replies

Greg29
  • May 13, 2024

Hi Nikita! Can you tell me more about what you're using to make these searches? Is it our API or are you using a third-party library?


  • Author
  • May 15, 2024

Hi Greg, we are using the zendesk API to fetch the tickets. Can you please share a sample code to search a ticket with cursor pagination?