X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/3e0a2c257d49fb162da9c70d2f70194036235166..838524f03be924c6ed49c4bd6a91845dd9603406:/skins/custom_generic/folder_contents.py 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