List View - Default Page Length

Hi,

i want to ask if its possible to set the default page length from 20 to something others? (i dont want to change it per doctype, i want to have a general default of 250 instead of the 20).

regards and thanks

the number of 20 is everywhere in frappe and erpnext.
Perhaps you could do experiment by modifying the frappe framework file.

I found a helper file in frappe source that you can check as a start if you want. The file is in Frappe app https://github.com/frappe/frappe/blob/develop/frappe/public/js/frappe/db.js . I think it’s somekind of helper file for many database operation .

The “get_list” function by default uses 20 as the default limit if not defined by the caller. You can try changing the default value for the limit as a start, though there could be another modification needed.