X-Git-Url: https://svn.cri.ensmp.fr/git/Portfolio.git/blobdiff_plain/011a53d5681ad1f5fa88a534ec041c93d3e7be95..393723570b65dbabd8d845d498d080c3f75272b3:/skins/selection_view.py?ds=inline diff --git a/skins/selection_view.py b/skins/selection_view.py index 8f86965..aec9043 100755 --- a/skins/selection_view.py +++ b/skins/selection_view.py @@ -29,7 +29,7 @@ else : start = req.get('b_start', 0) brains = [uidh.getBrain(uid) for uid in selection] -batch = Batch(brains, 20, start, orphan=1, quantumleap=1)#, b_start_str='pho_start') +batch = Batch(brains, context.default_batch_size, start, orphan=1, quantumleap=1)#, b_start_str='pho_start') cart = req.SESSION.get('cart', None) infos = [] @@ -79,6 +79,8 @@ options = {} options['infos'] = infos options['batch'] = batch options['features'] = features + +options['container_type'] = 'selection' options['selectionIsLightbox'] = selectionIsLightbox options['breadcrumbs'] = breadcrumbs