X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/3e0a2c257d49fb162da9c70d2f70194036235166..8393e88f33f604ce16fb229cf7f116ac106e2b0f:/skins/custom_generic/folder_contents.py?ds=inline diff --git a/skins/custom_generic/folder_contents.py b/skins/custom_generic/folder_contents.py index 1735b4d..26fa044 100644 --- a/skins/custom_generic/folder_contents.py +++ b/skins/custom_generic/folder_contents.py @@ -174,7 +174,7 @@ items = context.listNearestFolderContents(contentFilter=filter) sort_dir = reverse and 'desc' or 'asc' sortFunc = key in ['Type', 'title_or_id'] and 'nocase' or 'cmp' items = sequence.sort( items, ((key, sortFunc, sort_dir),) ) -batch_obj = Batch(items, 20, b_start, orphan=0, quantumleap=1) +batch_obj = Batch(items, context.default_batch_size, b_start, orphan=0, quantumleap=1) items = [] i = 1 display_delete_button = False