# Maximum length for lists

**URL:** <https://www.dolibarr.org/forum/t/maximum-length-for-lists/24865>\
**Category:** CRM/SRM Modules\
**Tags:** v18\
**Created:** [January 22, 2024, 6:57pm UTC](https://www.dolibarr.org/forum/t/maximum-length-for-lists/24865 "2024-01-22T18:57:55Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![farneyaurelio](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/farneyaurelio/32/6313_2.png) [@farneyaurelio](https://www.dolibarr.org/forum/u/farneyaurelio)\
**Post date:** [January 22, 2024, 6:57pm UTC](https://www.dolibarr.org/forum/t/maximum-length-for-lists/24865/1 "2024-01-22T18:57:56Z")

</div>

Hello everyone, currently when I enter any list, whether it’s projects, third parties, or tickets for example, it generates a list with 50 rows. I can manually increase or decrease it in the top menu. However, I would like to change this default value from 50 to 250. Where can I make this change? I have already tried to do this in ‘Settings \> Appearance \> Default maximum length for lists’ and it had no effect.

---

<div class="post-metadata">

**Author:** ![umigun](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/umigun/32/7276_2.png) [@umigun](https://www.dolibarr.org/forum/u/umigun)\
**Post date:** [January 24, 2024, 6:28am UTC](https://www.dolibarr.org/forum/t/maximum-length-for-lists/24865/2 "2024-01-24T06:28:58Z")

</div>

Hello,  
go to **Home \> Settings \> Other** and add the following parameter to the boxes here “MAIN\_MAXLIST\_OVERLOAD” 20 - 50 or your choice.

---

<div class="post-metadata">

**Author:** ![farneyaurelio](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/farneyaurelio/32/6313_2.png) [@farneyaurelio](https://www.dolibarr.org/forum/u/farneyaurelio)\
**Post date:** [January 24, 2024, 11:57am UTC](https://www.dolibarr.org/forum/t/maximum-length-for-lists/24865/3 "2024-01-24T11:57:58Z")

</div>

Thanks, Umigun, for the information. However, after making modifications in my instance, it continues to display a list with a value of 50.

---

<div class="post-metadata">

**Author:** ![caos30](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/caos30/32/6733_2.png) [@caos30](https://www.dolibarr.org/forum/u/caos30)\
**Post date:** [January 24, 2024, 6:06pm UTC](https://www.dolibarr.org/forum/t/maximum-length-for-lists/24865/4 "2024-01-24T18:06:41Z")

</div>

The system constant to change is this: MAIN\_SIZE\_LISTE\_LIMIT

But you can set it manually on:

- Setup \> Display \> Lang.& presentation \> Default max length for lists

 ![imatge](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/2/282ddbf3bad5ec8365bf242d558009277e997dd4.png)

---

<div class="post-metadata">

**Author:** ![farneyaurelio](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/farneyaurelio/32/6313_2.png) [@farneyaurelio](https://www.dolibarr.org/forum/u/farneyaurelio)\
**Post date:** [January 24, 2024, 10:00pm UTC](https://www.dolibarr.org/forum/t/maximum-length-for-lists/24865/5 "2024-01-24T22:00:08Z")

</div>

> [@caos30](#):
>
> MAIN\_SIZE\_LISTE\_LIMIT

So there must be something wrong with my instance, both with the MAIN\_SIZE\_LISTE\_LIMIT command and the manual way you explained to change the size of my list. See the prints below.

 ![2024-01-24_18h52_25](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/1/10507f982723c183a94362b1ddb78f9c2e61909f.png)  
 ![2024-01-24_18h51_51](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/2/27c02c71290f712788317f51b537d6386188cfc6.png)

---

<div class="post-metadata">

**Author:** ![caos30](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/caos30/32/6733_2.png) [@caos30](https://www.dolibarr.org/forum/u/caos30)\
**Post date:** [January 24, 2024, 11:44pm UTC](https://www.dolibarr.org/forum/t/maximum-length-for-lists/24865/6 "2024-01-24T23:44:19Z")

</div>

> [@farneyaurelio](#):
>
> So there must be something wrong with my instance

Is it possible that some kind of cache is interfering? Try to test the list length on other web browser (to discard browser cache interference), or try with a new user (to discard “user cache” of Dolibarr), or try also to PURGE temporal files/settings on Dolibarr (on Admin Tools):

`/admin/tools/purge.php`

---

<div class="post-metadata">

**Author:** ![farneyaurelio](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/farneyaurelio/32/6313_2.png) [@farneyaurelio](https://www.dolibarr.org/forum/u/farneyaurelio)\
**Post date:** [January 25, 2024, 12:51pm UTC](https://www.dolibarr.org/forum/t/maximum-length-for-lists/24865/7 "2024-01-25T12:51:06Z")

</div>

Caos30, you were right, the cache was interfering. But this has brought to my attention another issue: is it also possible to set a custom value per user? When I tested with another user, it worked, but it was still problematic on my account. Then I went to the user settings and discovered this function. Thank you very much for the help.

 ![2024-01-25_09h46_18](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/3/340e40f99d54f90d8f2d93ef35e2d618763f91a8.png)
