X-Git-Url: https://svn.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/99afe0ce8700bf835ff7bbedf77bb46e58f996d8..0850e43a8ab107253872f84890eebc43c46c9347:/skins/custom_generic/folder_contents.py?ds=sidebyside 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