# How can I modify the retrieved ticket count of getOpenedList and getClosedList?

**URL:** https://community.sendbird.com/t/how-can-i-modify-the-retrieved-ticket-count-of-getopenedlist-and-getclosedlist/3720
**Category:** JavaScript
**Tags:** desk
**Created:** [January 7, 2022, 9:35am UTC](https://community.sendbird.com/t/how-can-i-modify-the-retrieved-ticket-count-of-getopenedlist-and-getclosedlist/3720 "2022-01-07T09:35:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Sandor\_Fulop](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/sandor_fulop/32/1878_2.png) [@Sandor\_Fulop](https://community.sendbird.com/u/Sandor_Fulop)
#### Post date: [January 7, 2022, 9:35am UTC](https://community.sendbird.com/t/how-can-i-modify-the-retrieved-ticket-count-of-getopenedlist-and-getclosedlist/3720/1 "2022-01-07T09:35:19Z")

</div>

Hello,

I can get the default retrieved ticket count with `SendBirdDesk.Ticket.defaultLimit` (like it is used in Sendbird Desk for JavaScript sample). But I have no information about how can I modify this ‘limit’.

How can I modify the retrieved ticket count of `getOpenedList` and `getClosedList`?

Note: If I use TypeScript the `SendBirdDesk.Ticket.defaultLimit` will give a typecheck error, because the property ‘defaultLimit’ does not exist on type `TicketStatic`.

---

<div class="post-metadata">

### Author: ![Miyoung\_Han](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/miyoung_han/32/183_2.png) [@Miyoung\_Han](https://community.sendbird.com/u/Miyoung_Han)
#### Post date: [January 7, 2022, 10:57pm UTC](https://community.sendbird.com/t/how-can-i-modify-the-retrieved-ticket-count-of-getopenedlist-and-getclosedlist/3720/2 "2022-01-07T22:57:41Z")

</div>

Hi @Sandor_Fulop ,

Currently, Desk SDK only supports ten tickets per request in descending order by default.  
I will report the TypeScript error to our engineering.
